Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Cplex error

    Posted 04/06/10 09:42 AM

    Originally posted by: sticyjade


    Today I used Cplex 10.0 in C# environment to solve a simple MIP programming problem. But an error emerged. The message said,"CpxRange for general expression". This happened when debugging the whole programme. It stopped at a statement as "cplex.AddEq(Cnorm, Cinv);" The type of "Cnorm" is INumVar and the one of "Cinv" is INumExpr. "Cinv" is the sum and product of various of INumExpr, IIntVar, and double. I'll appreciate it if you could give me some aids. Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex error

    Posted 04/07/10 07:10 AM

    Originally posted by: RWunderling


    Please check that your expression Cinv is indeed linear. Quadratic equality constraints are not supported by CPLEX as they would not be positive semi-definite.

    Roland
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Cplex error

    Posted 04/08/10 11:24 AM

    Originally posted by: sticyjade


    Thank you for your help. Do all the other constraints methods, like AddLe(,), not support the quadratic expressions? If I have to use the quadratic form of constraints, is there any methods that I could utilize?
    #CPLEXOptimizers
    #DecisionOptimization