MATLAB crashing when using CPLEX API
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I want to solve linear programming (LP) problem which has 25000 binary variables and almost 2555 equality constraints and 50 inequality constraints , so I used cplexbilp function which CPLEX API provided for MATLAB like this:
[x,fval,exitflag,output,] = cplexbilp(f, Aineq, bineq, Aeq, beq);
when I run the script, this error appears:

When I review the error details, I see this message:
[ 1] 0x6df51ba9 C:/Program Files/IBM/ILOG/CPLEX_Studio_Preview125/cplex/matlab/x86_win32/cplexlink125.mexw32+00007081 ( ???+000000 )
I think cplexlink125.mexw32 is cplex v12.5 callable library for MATLAB. My question is how to solve this error? and I want to know is the problem size (25000 binary variables) main error root?
- MATLAB version: R2011a
- CPLEX version: 12.5
Thanks in advance for any comment or answer
1 commentaire
Gautam Marwaha
le 18 Mai 2014
I am facing the same problem with a smaller problem (cplexmilp) - I have 420 variables with lesser number of equality and inequality constraints. The call to cplex is part of a larger optimization problem. Since cplex causes the code to crash, I'm unable to obtain a 'converged' solution. I haven't heard back from the Cplex team regarding this yet. Did you find anything to fix this?
Réponses (0)
Voir également
Catégories
En savoir plus sur Monte Carlo Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!