6#include "dlinear/parser/mps/Sense.h"
12#include "dlinear/util/exception.h"
17 std::size_t pos = sense.find_first_not_of(
' ');
21 while (*sense ==
' ') ++sense;
25 sense = std::tolower(sense);
36 DLINEAR_UNREACHABLE();
40std::ostream &operator<<(std::ostream &os,
const Sense &sense) {
51 DLINEAR_UNREACHABLE();
Namespace for the MPS parser of the dlinear library.
Sense
Sense of a constraint row.
@ N
No sense, used for the objective function.
Sense ParseSense(const std::string &sense)
Parse a sense from a string.