MATLAB crashing when using CPLEX API
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Gautam Marwaha
el 18 de Mayo de 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?
Respuestas (0)
Ver también
Categorías
Más información sobre Monte Carlo Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!