MATLAB crashing when using CPLEX API

2 visualizzazioni (ultimi 30 giorni)
oMiD Mousazadeh
oMiD Mousazadeh il 19 Nov 2013
Commentato: Gautam Marwaha il 18 Mag 2014
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 Commento
Gautam Marwaha
Gautam Marwaha il 18 Mag 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?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by