Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  why my constraint is not work?

    Posted 02/06/18 07:15 AM

    Originally posted by: savant_ning


    Hi, I met this problem:

    I has construct a model to solve question, the solution prior best Integer is no problem;

    but I don't know used what optimization, the best bound and the best integer has problem, and it's violate my constraint. see my attachment.

    the "36811.4400" is violate my constraint, I don't know why.

    regards

     


    #DecisionOptimization
    #MathematicalProgramming-General


  • 2.  Re: why my constraint is not work?

    Posted 02/06/18 08:25 AM

    Originally posted by: savant_ning


    I know maybe inappropriate tolerance settings in my model,

    but I don't know how to set this setting in python?

     


    #DecisionOptimization
    #MathematicalProgramming-General


  • 3.  Re: why my constraint is not work?

    Posted 02/06/18 08:38 AM

    You can take a look at the various examples shipped with CPLEX. They illustrate how to set parameters (and tolerances are just parameters).


    #DecisionOptimization
    #MathematicalProgramming-General


  • 4.  Re: why my constraint is not work?

    Posted 02/06/18 09:14 AM

    Originally posted by: savant_ning


    very thanks, my model is LP. I'm look the examples, but many parameters setting, I don't know try which parameters, because solve my model need much time,

     

    I want to know the some exact parameters to solve my model, because this parameters have different class, like :method.set(); parameters.optimalitytarget(); or some others;

    I have see the cplex c++ have this parameters:

    CPX_PARAM_EPRHS (IloCplex::EpRHS) ;

    CPX_PARAM_NETEPRHS (IloCplex::NetEpRHS);

    CPX_PARAM_BAREPCOMP (IloCplex::BarEpComp) ;

    CPX_PARAM_BARQCPEPCOMP (IloCplex::BarQCPEpComp);

    CPX_PARAM_EPINT (IloCplex::EpInt)

    I don't know the related python parameters names, thanks

     

    regards.

     


    #DecisionOptimization
    #MathematicalProgramming-General


  • 5.  Re: why my constraint is not work?

    Posted 02/06/18 10:47 AM

    How about taking a look at the documentation? All CPLEX parameters are listed here along with their names in the different APIs.


    #DecisionOptimization
    #MathematicalProgramming-General