Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Quadratic programming

    Posted Wed September 23, 2015 04:39 AM

    Originally posted by: titino


    Hello! I created an OPL model but I have a problem because it does not give me any solution but there aren't errors. I have a vector representing the demand values for each period t, which can have positive or zero values . The model will be launched only on the positive values and in particular from the third positive value. 
    For the second positive value I calculate  Z, R, D and tot which are necessary for the resolution of the model from the third positive value. Based on the output values of the model each time you launch the next. Because the code does not work? What could be a possible solution? I attach below the model I created in txt files.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Quadratic programming

    Posted Thu September 24, 2015 05:08 PM

    The phrase "does not give me any solution" is ambiguous. Does the model terminate with an infeasible status (saying that there is no solution), or does it reach the time limit (or some other limit) without finding an incumbent (but also without proving infeasibility)?


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Quadratic programming

    Posted Fri September 25, 2015 05:23 AM

    Originally posted by: titino


    Cplex.getCplexStatus() return 3, therefore model is proved infeasible.


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Quadratic programming

    Posted Sun September 27, 2015 05:54 PM

    If you know the model is feasible, presumably you know (or can easily find) a feasible solution. It does not have to be good, just feasible. Fix all the variables to the known feasible values, then obtain a minimal infeasible subset of the constraints. Assuming your solution really is feasible, one or more of those constraints contains an error.


    #CPLEXOptimizers
    #DecisionOptimization