Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Next()

    Posted 05/21/08 11:29 AM

    Originally posted by: SystemAdmin


    [shadi said:]

    hi,
    in my opl i have the following declaration:
    [b]dvar int tripSeq[tripRng] in Trips;[/b]
    when i use the next command from my c# code, it give me the same the same sequence of trips (tripSeq),

    [b]while (oplCPWithoutPreprocess.CP.Next())
    {
    ILOG.Concert.IIntMap MytripSeqArray=oplCPWithoutPreprocess.GetElement("tripSeq").AsIntMap();
            ...........................
    }[/b]

    how i can get each Next() the new tripSeq??
    maybe i have to use another datatype than ILOG.Concert.IIntMap???

    thank you
    Kshieboun Shadi
    #ConstraintProgramming-General
    #DecisionOptimization


  • 2.  Re: Next()

    Posted 05/21/08 01:31 PM

    Originally posted by: SystemAdmin


    [afleischer said:]

    Hi,

    at the end of your while loop, can't you try to call a postProcess on the model?
    That could help.

    Alex
    #ConstraintProgramming-General
    #DecisionOptimization