Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: NguyenHuuTRi
Hi,
I encounter the error :CPLEX Error 5002: 'q1' is not convex when I am running my model. I can not identify which error is and how can i deal with this problem with my model. I have attached my model here and hope to receive your help.
Thanks so much.
Tri.
Hi
which cplex version do you use ?
regards
By the way you could try Constraint Programming:
just add:
using CP;
at the beginning of your model.
I am using CPLEX 12.6.2. My question is that my model is using linear programming in CPLEX and my model has two objectives (one is linear and another one is nonlinear), so I wonder if I could use CP or not as your suggestion.
Thanks.
yes and you should have a look at
IDE and OPL > Optimization Programming Language (OPL) > Language User's Manual > The application areas > Applications of constraint programming
CP Optimizer can solve models with a multi-criteria objective.
The truckfleet example illustrates this feature. The model and data files can be found in:
Install_dir\opl\examples\opl\truckfleet