Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  two problem about solving a MIP model

    Posted 12/25/08 04:55 PM

    Originally posted by: SystemAdmin


    [frances said:]

        Hi,
        The 1st problem:
                                My model can be solved correctly. I got the optimal solution,but can not get the dual values.
                                The error showed is 1217: no solution exists.

        The 2nd problem:

                    model (1):
                                Max: x[0]+4*x[2]

                                st.:  -2*x[0]+3*x[1]<=3<br />                                    x[0]+2*x[1]<=8<br />                                    x[0]>=0,integer; x[1]>=0,integer
                             
                                The solution obtained is (0,0). it is not correct.

                  model (1):

                                Max: x[0]+4*x[2]

                                st.:  -2*x[0]+3*x[1]<=3<br />                                    x[0]+2*x[1]<=8<br />                                    x[0]>=0,integer; x[1]>=0,integer
                                        x[0]<=100; x[1]<=100<br />                         
                                I just tighten the constraint, and the solution obtained is (4,2). It is correct.
                               
                                WHY?


                             
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: two problem about solving a MIP model

    Posted 12/31/08 05:48 AM

    Originally posted by: SystemAdmin


    [vblanchard said:]

    what version are you working with?
    I just tried with OPL 6.1 (which uses CPLEX 11.2) and it gives the expected result.
    #CPLEXOptimizers
    #DecisionOptimization