Skip to content

Commit 73f576e

Browse files
committed
Update
1 parent 2b828af commit 73f576e

File tree

4 files changed

+31
-1
lines changed

4 files changed

+31
-1
lines changed

src/FileFormats/MPS/read.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function Base.read!(io::IO, model::Model{T}) where {T}
267267
if length(items) != 2
268268
_throw_parse_error(
269269
data,
270-
"The header for a quadratic matrx must have two fields, where the second field is the name of the Q matrix.",
270+
"The header for a quadratic matrix must have two fields, where the second field is the name of the Q matrix.",
271271
)
272272
end
273273
data.current_qc_matrix = String(items[2])
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
NAME
2+
OBJSENSE minimax
3+
ROWS
4+
N c
5+
COLUMNS
6+
x c 1
7+
BOUNDS
8+
ENDATA
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
NAME
2+
OBJSENSE
3+
minimax
4+
ROWS
5+
N c
6+
COLUMNS
7+
x c 1
8+
BOUNDS
9+
ENDATA
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
NAME
2+
OBJSENSE MIN
3+
ROWS
4+
N obj
5+
L c
6+
COLUMNS
7+
x obj 1
8+
RHS
9+
BOUNDS
10+
FR bounds x
11+
QCMATRIX
12+
x 1
13+
ENDATA

0 commit comments

Comments
 (0)