Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Wrong answers to binary variables?

    Posted 10/01/10 05:53 PM

    Originally posted by: zhwhjessica


    I have established a mix integer programming model with basic c language and written it as “smb_new.lp” file with “CPXwriteprobCPXwriteprob (env, lp, "smb_new.lp", NULL)”. Then I optimize it with “CPXmipopt (env, lp)”; However, I got a wrong answer to one binary variable which is -2.664535259e-015 even though in the “smb_new.lp” file it is defined as a binary variable. When I use an interactive optimizer though reading this “smb_new.lp” file and then optimizing it, there is no such a problem. Why there is a problem when I optimize this model with basic C language?
    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Wrong answers to binary variables?

    Posted 10/02/10 06:24 AM

    Originally posted by: rdumeur


    Dear zhwhjessica,

    This is the constraint programming forum. I advise you to ask your question in the CPLEX Optimizer forum:

    http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2059

    Cheers,

    Renaud Dumeur
    #CPOptimizer
    #DecisionOptimization


  • 3.  Re: Wrong answers to binary variables?

    Posted 10/03/10 05:56 AM

    Originally posted by: zhwhjessica


    Thank you very much for the help.
    Best regards
    Zhwhjessica
    #CPOptimizer
    #DecisionOptimization