Decision Optimization

 View Only
  • 1.  Relaxed solution

    Posted Thu December 31, 2020 01:04 AM
    Hi

    I have a model which is giving me relaxed solutions. I tried multiple ways to formulate the constraints to avoid it but it didn't work. Please have a look in the model and any possible solutions would be a great help for me. Thank you

    Model is attached as Forum.mod
    Data file is Data.dat
    Remaining file is data source file


    ------------------------------
    sandeep singh chauhan
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Relaxed solution

    Posted Thu December 31, 2020 04:34 AM
    Hi,

    if you label your demand constraint

    forall(o in ORDER,t in PRODUCT:Demand[t][o]>0){
    ctDemand:S[t][o] - Y[t][o]*Demand[t][o] >= 0;
    }​


    then you ll get which demand cannot be met in the relaxation tab




    ------------------------------
    [Alex] [Fleischer]
    [EMEA CPLEX Optimization Technical Sales]
    [IBM]
    ------------------------------