Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
ProductCst (LinearExpr expr, double coeff) | |
override String | ToString () |
override double | DoVisit (Dictionary< Variable, double > coefficients, double multiplier) |
override double | SolutionValue () |
Public Member Functions inherited from Google.OrTools.LinearSolver.LinearExpr | |
double | Visit (Dictionary< Variable, double > coefficients) |
def ge(self, arg): if isinstance(arg, (int, long, float)): return LinearConstraint(self, arg, 1e308) else: return LinearConstraint(Sum(self, ProductCst(arg, -1)), 0.0, 1e308) def le(self, arg): if isinstance(arg, (int, long, float)): return LinearConstraint(self, -1e308, arg) else: return LinearConstraint(Sum(self, ProductCst(arg, -1)), -1e308, 0.0)
Definition at line 167 of file LinearExpr.cs.
|
inline |
Definition at line 169 of file LinearExpr.cs.
|
inlinevirtual |
Reimplemented from Google.OrTools.LinearSolver.LinearExpr.
Definition at line 180 of file LinearExpr.cs.
|
inlinevirtual |
Reimplemented from Google.OrTools.LinearSolver.LinearExpr.
Definition at line 193 of file LinearExpr.cs.
|
inline |
Definition at line 175 of file LinearExpr.cs.