MATLAB crashing when using CPLEX API

2 次查看(过去 30 天)
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 个评论
Gautam Marwaha
Gautam Marwaha 2014-5-18
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?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Monte Carlo Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by