Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Questions about CPLEX

    Posted 06/14/16 11:29 AM

    Originally posted by: Yashgt


    Hi,

    A few questions about CPLEX:

    In the case of a local solve engine:

    1. If we submit an OPL model for optimization using the Java API, can we pause it while it is processing and resume it later?
    2. Similarly can we Abort an optimization that is in progress?
    3. If one application makes a call to solve a problem and while the solution is in progress, another application makes a call, does the second invocation get held up for the first?

    In the case of CPLEX Enterprise Server:
    I know there is a web service that makes it possible for a remote application to invoke an execution remotely. Where can I find the documentation of this web service?

     

    Thanks,
    Yash


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Questions about CPLEX

    Posted 06/15/16 03:27 AM

    Hi,

    1. If we submit an OPL model for optimization using the Java API, can we pause it while it is processing and resume it later? ==> You may save the current solution and start later from there (WriteMIPStart, ReadMIPStart)
    2. Similarly can we Abort an optimization that is in progress? == Yes you can. You may do that with callbacks or within a loop that calls the solves
    3. If one application makes a call to solve a problem and while the solution is in progress, another application makes a call, does the second invocation get held up for the first? ==> All solves run in //, see the example in CPLEX_Studio1263\opl\examples\opl_interfaces\java\ConcurrentProcessing

    For CPLEX Enterprise Server have you had a look at http://www.ibm.com/developerworks/library/co-ind-ilog-cplex/

    and https://www.youtube.com/watch?v=IVTpBoC0_2g

    ?

     

    PS:

    Do you work for http://www.psllimited.com/  ?

    Regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Questions about CPLEX

    Posted 06/17/16 03:23 AM

    What Alex said with respect to pausing is more stop-restart. If you really want to pause you may block execution in an info callback.

    In general, for the sort of low-level control of the solution process you are looking for, you can use IloOplModel.getCplex() to get a reference to the underlying solver. Then use methods of the IloCplex class to control the solve.


    #CPLEXOptimizers
    #DecisionOptimization