Loading...
Searching...
No Matches
MPSInput Class Reference
Detailed DescriptionReads MPS input files. A right-hand side for the objective function is allowed but ignored. Definition at line 43 of file mpsinput.h. Member Enumeration Documentation◆ anonymous enum
Definition at line 65 of file mpsinput.h. ◆ Section
Definition at line 52 of file mpsinput.h. ◆ Sense
Constructor & Destructor Documentation◆ MPSInput()
Definition at line 119 of file mpsinput.h. References MPSInput::m_buf, MPSInput::m_f0, MPSInput::m_f1, MPSInput::m_f2, MPSInput::m_f3, MPSInput::m_f4, MPSInput::m_f5, MPSInput::m_objname, and MPSInput::m_probname. ◆ ~MPSInput()
Definition at line 137 of file mpsinput.h. References MPSInput::m_f0, MPSInput::m_f1, MPSInput::m_f2, MPSInput::m_f3, MPSInput::m_f4, and MPSInput::m_f5. Member Function Documentation◆ entryIgnored()
Definition at line 253 of file mpsinput.h. References MPSInput::m_ignored, MPSInput::m_lineno, MPSInput::m_max_ignore, and SPX_MSG_ERROR. ◆ field0()
Definition at line 159 of file mpsinput.h. References MPSInput::m_f0. ◆ field1()
Definition at line 164 of file mpsinput.h. References MPSInput::m_f1. ◆ field2()
Definition at line 169 of file mpsinput.h. References MPSInput::m_f2. ◆ field3()
Definition at line 174 of file mpsinput.h. References MPSInput::m_f3. ◆ field4()
Definition at line 179 of file mpsinput.h. References MPSInput::m_f4. ◆ field5()
Definition at line 184 of file mpsinput.h. References MPSInput::m_f5. ◆ hasError()
Definition at line 204 of file mpsinput.h. References MPSInput::m_has_error. ◆ insertName()
Inserts Insert Definition at line 268 of file mpsinput.cpp. References MPSInput::m_f1, MPSInput::m_f2, MPSInput::m_f3, MPSInput::m_f4, and MPSInput::m_f5. ◆ isInteger()
Definition at line 209 of file mpsinput.h. References MPSInput::m_is_integer. ◆ lineno()
Definition at line 154 of file mpsinput.h. References MPSInput::m_lineno. ◆ objName()
Definition at line 194 of file mpsinput.h. References MPSInput::m_objname. ◆ objSense()
Definition at line 199 of file mpsinput.h. References MPSInput::m_objsense. ◆ probName()
Definition at line 189 of file mpsinput.h. References MPSInput::m_probname. ◆ readLine()
reads an MPS format data line and parse the fields. read a MPS format data line and parse the fields. Definition at line 67 of file mpsinput.cpp. References BLANK, MPSInput::BOUNDS, soplex::clear_from(), MPSInput::COLUMNS, SPxOut::debug(), MPSInput::m_buf, MPSInput::m_f0, MPSInput::m_f1, MPSInput::m_f2, MPSInput::m_f3, MPSInput::m_f4, MPSInput::m_f5, MPSInput::m_input, MPSInput::m_is_integer, MPSInput::m_is_new_format, MPSInput::m_lineno, MPSInput::m_section, soplex::patch_field(), MPSInput::RANGES, and MPSInput::RHS. ◆ section()
Definition at line 149 of file mpsinput.h. References MPSInput::m_section. ◆ setObjName()
Definition at line 230 of file mpsinput.h. References MPSInput::m_objname, MPSInput::MAX_LINE_LEN, and soplex::spxSnprintf(). ◆ setObjSense()
Definition at line 236 of file mpsinput.h. References MPSInput::m_objsense. ◆ setProbName()
Definition at line 224 of file mpsinput.h. References MPSInput::m_probname, MPSInput::MAX_LINE_LEN, and soplex::spxSnprintf(). ◆ setSection()
Definition at line 219 of file mpsinput.h. References MPSInput::m_section. ◆ syntaxError()
Definition at line 246 of file mpsinput.h. References MPSInput::ENDATA, MPSInput::m_has_error, MPSInput::m_lineno, MPSInput::m_section, and SPX_MSG_ERROR. Member Data Documentation◆ m_buf
the line buffer Definition at line 85 of file mpsinput.h. Referenced by MPSInput::MPSInput(), and MPSInput::readLine(). ◆ m_f0
first field in a line Definition at line 87 of file mpsinput.h. Referenced by MPSInput::field0(), MPSInput::MPSInput(), MPSInput::readLine(), and MPSInput::~MPSInput(). ◆ m_f1
second field in a line Definition at line 89 of file mpsinput.h. Referenced by MPSInput::field1(), MPSInput::insertName(), MPSInput::MPSInput(), MPSInput::readLine(), and MPSInput::~MPSInput(). ◆ m_f2
third field in a line Definition at line 91 of file mpsinput.h. Referenced by MPSInput::field2(), MPSInput::insertName(), MPSInput::MPSInput(), MPSInput::readLine(), and MPSInput::~MPSInput(). ◆ m_f3
fourth field in a line Definition at line 93 of file mpsinput.h. Referenced by MPSInput::field3(), MPSInput::insertName(), MPSInput::MPSInput(), MPSInput::readLine(), and MPSInput::~MPSInput(). ◆ m_f4
fifth field in a line Definition at line 95 of file mpsinput.h. Referenced by MPSInput::field4(), MPSInput::insertName(), MPSInput::MPSInput(), MPSInput::readLine(), and MPSInput::~MPSInput(). ◆ m_f5
sixth field in a line Definition at line 97 of file mpsinput.h. Referenced by MPSInput::field5(), MPSInput::insertName(), MPSInput::MPSInput(), MPSInput::readLine(), and MPSInput::~MPSInput(). ◆ m_has_error
is set to Definition at line 83 of file mpsinput.h. Referenced by MPSInput::hasError(), and MPSInput::syntaxError(). ◆ m_ignored
Number of already ignored entries. Definition at line 107 of file mpsinput.h. Referenced by MPSInput::entryIgnored(). ◆ m_input
the input stream from which the file is read Definition at line 77 of file mpsinput.h. Referenced by MPSInput::readLine(). ◆ m_is_integer
Definition at line 103 of file mpsinput.h. Referenced by MPSInput::isInteger(), and MPSInput::readLine(). ◆ m_is_new_format
◆ m_lineno
line number Definition at line 79 of file mpsinput.h. Referenced by MPSInput::entryIgnored(), MPSInput::lineno(), MPSInput::readLine(), and MPSInput::syntaxError(). ◆ m_max_ignore
Maximal number of ignored entries for which a warning will be issued. Definition at line 109 of file mpsinput.h. Referenced by MPSInput::entryIgnored(). ◆ m_objname
objective name Definition at line 101 of file mpsinput.h. Referenced by MPSInput::MPSInput(), MPSInput::objName(), and MPSInput::setObjName(). ◆ m_objsense
objctive sense (maximization or minimization) Definition at line 81 of file mpsinput.h. Referenced by MPSInput::objSense(), and MPSInput::setObjSense(). ◆ m_probname
problem name Definition at line 99 of file mpsinput.h. Referenced by MPSInput::MPSInput(), MPSInput::probName(), and MPSInput::setProbName(). ◆ m_section
Definition at line 75 of file mpsinput.h. Referenced by MPSInput::readLine(), MPSInput::section(), MPSInput::setSection(), and MPSInput::syntaxError().
|