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
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 Center および File Exchange で Monte Carlo Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!