Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Binary decision variables are not solved binary

  • 1.  Binary decision variables are not solved binary

    Posted Tue July 25, 2017 09:41 AM

    Originally posted by: ng_delft


    Currently I use the Python API for Cplex. My decision variables are defined as binary. However solving the problem, Cplex gives non-binary values (0.5, 0.666, 0.333 etc.) for the decision variables and it states that the problem is solved 'optimal'. However a non-binary value for the decision variable should not be possible.  

    Could you explain me why Cplex gives me a non-binary optimal solution? (instead of telling me that the solution is infeasible)


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Binary decision variables are not solved binary

    Posted Tue July 25, 2017 11:49 AM

    Hi,

    can you post your model ?

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Binary decision variables are not solved binary

    Posted Thu July 27, 2017 05:48 AM

    Originally posted by: ng_delft


    Hi,

    I found a conflict in constraints, so for now I solved my problem:)

    thanks 


    #CPLEXOptimizers
    #DecisionOptimization