-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Labels
Submodule: FileFormatsAbout the FileFormats submoduleAbout the FileFormats submodule
Description
When reading MPS files with quadratic constraints, off-diagonal elements seem to get a factor two. Here is a minimal working example:
NAME mwe
ROWS
N obj
E c1
G q1
COLUMNS
x1 obj 1.0
x1 c1 1.0
x2 c1 -1.0
RHS
rhs c1 0.0
rhs q1 1.0
QCMATRIX q1
x1 x1 1.0
x1 x2 1.0
x2 x1 1.0
ENDATA
Solving this problem with Gurobi within Julia (reading the file with MOI) leads to a solution of 1/√3, while solving it directly with Gurobi gives the expected solution of 1/√2.
Metadata
Metadata
Assignees
Labels
Submodule: FileFormatsAbout the FileFormats submoduleAbout the FileFormats submodule