Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  OPL interface java

    Posted 12/29/09 01:51 PM

    Originally posted by: bob3333


    Good evening

    I've Ilog opl 6.3 cplex and I would like to solve the fleet assignment example within the java api( import ilog.opl.*;)

    how can I solve the example model (the .mod and .dat from opl studio) trouth java ?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: OPL interface java

    Posted 12/30/09 04:15 PM

    Originally posted by: bob3333


    no one know how to?

    I've donne some code to acces to date from opl trouth java

    IloOplFactory.setDebugMode(true);
    IloOplFactory oplF = new IloOplFactory();

    IloOplRunConfiguration rc = oplF.createOplRunConfiguration(DATADIR
    + "/fleet.mod",DATADIR
    + "/fleet.dat");
    IloOplModel opl = rc.getOplModel();
    opl.generate();

    what is the next step to solve and display the results ?

    thanks in advense
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: OPL interface java

    Posted 12/30/09 06:25 PM

    Originally posted by: bob3333


    I'd like to solve it with column generation with this very typical heuristic procedure to find good solutions to very large MIPs with column generation :

    1. Set up initial LP.
    2. Solve with dual simplex.
    3. Query dual solution and find new columns with pricing method. If nothing found, goto 7.
    4. Add new columns to LP.
    5. Solve with primal simplex.
    6. Goto 3.
    7. Install 'ctype' vector to declare all or some of the variables to be integer constrained.
    8. Solve problem as MIP.

    thanks again
    #DecisionOptimization
    #OPLusingCPLEXOptimizer