Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | _FakeMPVariableRepresentingTheConstantOffset |
class | Constant |
class | LinearConstraint |
class | LinearExpr |
class | ProductCst |
class | SumArray |
class | VariableExpr |
Functions | |
CastToLinExp (v) | |
Sum (*args) | |
Variables | |
inf = float("inf") | |
OFFSET_KEY = _FakeMPVariableRepresentingTheConstantOffset() | |
SumCst = Sum | |
Patch to the python wrapper of ../linear_solver.h providing an algebraic API. This is directly imported, and use exclusively in ./linear_solver.i. See that file. For examples leveraging the code defined here, see ./pywraplp_test.py and ../../../python/linear_programming.py.
ortools.linear_solver.python.linear_solver_natural_api.CastToLinExp | ( | v | ) |
Definition at line 52 of file linear_solver_natural_api.py.
ortools.linear_solver.python.linear_solver_natural_api.Sum | ( | * | args | ) |
Definition at line 249 of file linear_solver_natural_api.py.
ortools.linear_solver.python.linear_solver_natural_api.inf = float("inf") |
Definition at line 30 of file linear_solver_natural_api.py.
ortools.linear_solver.python.linear_solver_natural_api.OFFSET_KEY = _FakeMPVariableRepresentingTheConstantOffset() |
Definition at line 49 of file linear_solver_natural_api.py.
ortools.linear_solver.python.linear_solver_natural_api.SumCst = Sum |
Definition at line 253 of file linear_solver_natural_api.py.