dlinear  0.0.1
Delta-complete SMT solver for linear programming
Loading...
Searching...
No Matches
LpRowSense.h
1
7#pragma once
8
9#include <ostream>
10
11#include "dlinear/symbolic/symbolic.h"
12
13namespace dlinear {
14
23enum class LpRowSense {
24 LT = 0,
25 EQ = 1,
26 LE = 2,
27 GE,
28 GT,
29 NQ,
30 IN,
31};
32
39LpRowSense parseLpSense(const Formula &f);
45LpRowSense parseLpSense(char sense);
51char toChar(LpRowSense sense);
82
83std::ostream &operator<<(std::ostream &os, const LpRowSense &lp_result);
84
85} // namespace dlinear
86
87#ifdef DLINEAR_INCLUDE_FMT
88
89#include "dlinear/util/logging.h"
90
91OSTREAM_FORMATTER(dlinear::LpRowSense)
92
93#endif
Global namespace for the dlinear library.
LpColBound operator~(LpColBound bound)
Relax the bound.
char toChar(LpColBound bound)
Convert the bound to a character.
LpColBound operator!(LpColBound bound)
Invert the bound with delta == 0.
LpColBound operator-(LpColBound bound)
Invert the bound with delta > 0.
LpRowSense parseLpSense(const Formula &f)
Parse the sense from a formula.
LpRowSense
Sense of a linear programming row describing a constraint.
Definition LpRowSense.h:23
@ NQ
Not equal to.
@ GT
Greater than.
@ LE
Less than or equal to.
@ GE
Greater than or equal to.