Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am trying to load a CPLEX LP file in to CPLEX using the "read" command. I believe that in this problem, I have a set of constraints that are quadratic. But, from what I understand CPLEX will still attempt to solve quadratic programming problems.

However, when I try to read it in, I get this error:

CPLEX Error  1437: Line 284: Illegal quadratic constraint sense.

Is there something special I need to do to read in a quadratic programming problem?

NOTE: I am able to load this LP file in to scip and solve it using: scip -f

share|improve this question
    
Looks like a programming problem. Is there not a computing website where this question would be more clearly on-topic? –  Gerry Myerson Apr 11 '12 at 5:33
    
I can try stackoverflow, but I figured more math users would be likely to use cplex –  gnychis Apr 11 '12 at 14:52
    
This is pretty much off-topic. –  Mariano Suárez-Alvarez Oct 25 '12 at 16:42
add comment

1 Answer 1

CPLEX solves only convex optimization problems. No math programming instance with a nonlinear equality constraint can be convex, so cplex will refuse to attempt to solve any problem with such a constraint.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.