Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Using Netopt and Primal to finish

    Posted 11/12/07 10:05 AM

    Originally posted by: SystemAdmin


    [bengu said:]

    Hi,

    Iam using 'netopt' and would like to set the primal simplex method to finish off, once the network iterations are done. By default, it seems to be using dual to finish off the reamining. Iam able to force this in the interactive via, 'netopt primopt' in the interactive prompt. How should I do this in an application ?. Whats the correct parameter for doing this ?. Please advice.

    Thanks for ur help in advence.

    Regards,
    bengu
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Using Netopt and Primal to finish

    Posted 11/14/07 04:03 AM

    Originally posted by: SystemAdmin


    [EdKlotz said:]

    In the C API, you can just call CPXhybnetopt and specify the method you want
    after the network simplex method.  In the C++, Java and .NET APIs, there is
    no parameter or API call that specifically controls the method used after the
    network optimizer, but you can still do this.  Set a simplex iteration limit of 0.  This is different from a network simplex iteration limit of 0.  Then call IloCplex::solve with the root algorithm specified as netopt.  CPLEX will solve the network problem, invoke the simplex method, then stop at iteration 0 after the basis factorization.  You can then reset the root algorithm to primal simplex method and resume the optimization from where it left off.
    #CPLEXOptimizers
    #DecisionOptimization