Decision Optimization

 View Only

Infeasibility with .lp files

  • 1.  Infeasibility with .lp files

    Posted Thu August 01, 2024 08:21 AM

    Hello! 

    I have a problem that I solve iteratively, loading data from a previous solution...

    In a scenario I tested I got an infeasibility at the second iteration, of the form:

    Infeasibility row 'c59326': 0 = 1.

    which, after checking the .lp file corresponds to a constraint involving binary variables y, such as yA+yB = 1

    What I find odd is that if I include

    rc.getSettings().setWithNames(true);

    in my C++ code before solving, the infeasibility does not appear anymore, and I find a feasible solution!!

    Any idea on why this happens??

    Thanks

    Sam



    ------------------------------
    Samuele Viaro
    ------------------------------