Reference
Contents
Index
QPSReader.MPSCard
QPSReader.RowType
QPSReader.VariableType
QPSReader.read_card!
QPSReader.read_card!
QPSReader.read_ranges_line!
QPSReader.read_rows_line!
QPSReader.section_header
QPSReader.MPSCard
— TypeMPSCard{Format}
Data structure for parsing a single line of an MPS file.
QPSReader.RowType
— TypeRowType
An Enum of possible row types.
RTYPE_Objective
: objective row ('N'
)RTYPE_EqualTo
: equality constraint ('E'
)RTYPE_LessThan
: less-than constraint ('L'
)RTYPE_GreaterThan
: greter-than constraint ('G'
)
QPSReader.VariableType
— TypeVariableType
An Enum of possible variable types.
VTYPE_Marked
: marked integer (for internal use)VTYPE_Continuous
: continuous variableVTYPE_Binary
: binary variableVTYPE_Integer
: integer variableVTYPE_SemiContinuous
: semi-continuous variableVTYPE_SemiInteger
: semi-integer variable
QPSReader.read_card!
— Methodread_card!(card::MPSCard{FixedMPS}, ln::String)
Read the fields in ln
into card
.
QPSReader.read_card!
— Methodread_card!(card::MPSCard{FreeMPS}, ln::String)
Read the fields in ln
into card
.
QPSReader.read_ranges_line!
— Methodrow type sign of r h u
----------------------------------------------
G + or - b b + |r|
L + or - b - |r| b
E + b b + |r|
E - b - |r| b
QPSReader.read_rows_line!
— Methodread_rows_line
QPSReader.section_header
— Methodsection_header(s::String)
Return the section corresponding to s
.
Throws an error if s
is not a recognized section header.