Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Question on Set Construction Syntax

    Posted 09/22/08 02:00 AM

    Originally posted by: SystemAdmin


    [UDOPS said:]

    The following syntax works:

    {solverresult} ProblemSolution={<78, 0, p> | p in {Problem[1].problem_id}}

    The following does not work, but it would seem to be simpler, more efficient:

    {solverresult} ProblemSolution={<78, 0, Problem&#91;1&#93;.problem_id>}

    Is there a reason for this? Am I missing some other concise syntax?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Question on Set Construction Syntax

    Posted 09/22/08 01:19 PM

    Originally posted by: SystemAdmin


    [afleischer said:]

    tuple solverresult
    {
    int a;
    int b;
    int problem_id;
    }

    solverresult Problem[1..1]=[<1,2,3>];


    {solverresult} ProblemSolution={<78, 0, Problem&#91;1&#93;.problem_id>};

    execute
    {
    ProblemSolution;
    }

    is working fine, what is the issue you get?

    Alex
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Question on Set Construction Syntax

    Posted 09/23/08 03:01 AM

    Originally posted by: SystemAdmin


    [UDOPS said:]

    I am stumped now. Now it works. I was getting a trip-up at the period or the bracket. It did not like the syntax. Sorry I can't reproduce it.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer