Originally posted by: EdKlotz
>
> Dear,
>
> However, I have a maximization model with a quadratic objective function, I get an error message of " Q in objective is not positive semi definite". The form I have used is like;
>
> Regards,
CPLEX gives only a single error message when the Q matrix is indefinite. Since CPLEX internally solves minimization problems, the message is that Q is not positive semi definite,
rather than the negative semi definite concavity requirement for maximization problems.
In this case, the action you should take depends on your situation. If you truly want to solve a model with an indefinite Q matrix, follow Abhishek's instructions to take advantage of the indefinite Q matrix solver available starting with CPLEX 12.3. On the
other hand, if you believe your Q matrix should be positive or negative semi definite, then you need to determine why it is not. Some
tools and
techniques to help you do this appear on the IBM support site.
#CPLEXOptimizers#DecisionOptimization