Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  CPLEX12.1 Matlab API crash

    Posted Tue April 06, 2010 04:08 PM

    Originally posted by: BugHunter


    When I call cplex.solve() second time in a row even not changing anything in the object after the first solve, the MATLAB crashed.
    I was checking the cplex.Model after the first solve and everything was fine.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX12.1 Matlab API crash

    Posted Tue April 06, 2010 10:09 PM

    Originally posted by: John Cui


    Hi BugHunter,

    Could you give me some code which can reproduce the crash in MATLAB?

    BTW, which OS are you using? linux 32bits or 64bits or windows 32bits or 64bits?
    which version MATLAB are you using?

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: CPLEX12.1 Matlab API crash

    Posted Wed April 07, 2010 10:05 AM

    Originally posted by: BugHunter


    Hi John,
    I am working with Windows 7, R2010a MATLAB 64 and CPLEX 12.1 64.
    The program crashes when I create the Cplex object inside the function and pass it back to the main, trying to solve the problem 2d time in the main. The file is attached. Thanks
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: CPLEX12.1 Matlab API crash

    Posted Thu April 08, 2010 04:12 AM

    Originally posted by: John Cui


    Thanks much for this bug report. This is a known bug that has been introduced
    with the most recent version of Matlab, and the next version of CPLEX will include
    a workaround to the problem. However, for now you will need to go back to an
    earlier version of Matlab to avoid the problem. Version 2008b is known to work
    correctly. Sorry for this inconvenience.

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization