Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

How to resolve the infeasibility?

ALEX FLEISCHER

ALEX FLEISCHERTue December 27, 2016 03:39 AM

  • 1.  How to resolve the infeasibility?

    Posted Tue December 27, 2016 03:00 AM

    Originally posted by: ShaCplex


    Hi,

    when i run my model, it gives me no solution saying " Infeasibility row 'c7':  0  = 1." I have created the lp file of my model and found the the constraint c7 as below;

       Assignment#0#0 + Assignment#0#1  + Assignment#0#2  = 1

    this is the constraint.. So what should I infer from this? what is wrong in this constraint? How to identify the problem?

     

     

     

    Regards,

    Shahul


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to resolve the infeasibility?

    Posted Tue December 27, 2016 03:39 AM

    Hi,

    let me give you an example:

    dvar int x;

    subject to
    {
    x==0;
    x==22;
    }

    gives

    Infeasibility row 'c2':  0  = 22.

    which looks similar to what you got.

     

    So from there, you may label your constraints:

    dvar int x;

    subject to
    {
    ct1:x==0;
    ct2:x==22;
    }

    And then within the IDE you will see relaxations and conflicts

     

    For more, see Relaxing infeasible models

    http://www.ibm.com/support/knowledgecenter/en/SSSA5P_12.7.0/ilog.odms.ide.help/OPL_Studio/usroplide/topics/opl_ide_relax.html

     

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to resolve the infeasibility?

    Posted Wed December 28, 2016 12:48 AM

    Originally posted by: ShaCplex


    Thank you sir.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer