Originally posted by: SystemAdmin
Please check the solver status and error codes. CPLEX doesn't prove that the model is infeasible. There is no solution, because CPLEX cannot solve the model. The two quadratic constraints are not positive semi-definite.
In your case, however, you can simplify the model. Because all variables are non-negative, the quadratic constraints -2x + x^2 >= 0 are equivalent to (x >= 2 or x = 0). So, instead of writing quadratic constraints you can specify IloX0 and IloX1 to be semi-continuous variables with domain
2,5. "Semi-continuous" means that the variable can either be 0 or inside the specified interval.
Tobias
#CPLEXOptimizers#DecisionOptimization