Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model.py File Reference

Go to the source code of this file.

Classes

class  ortools.math_opt.python.model.UpperBoundedLinearExpression
 
class  ortools.math_opt.python.model.LowerBoundedLinearExpression
 
class  ortools.math_opt.python.model.BoundedLinearExpression
 
class  ortools.math_opt.python.model.VarEqVar
 
class  ortools.math_opt.python.model.QuadraticTermKey
 
class  ortools.math_opt.python.model._ProcessedElements
 
class  ortools.math_opt.python.model._QuadraticProcessedElements
 
class  ortools.math_opt.python.model._ToProcessElements
 
class  ortools.math_opt.python.model._ToProcessElementsImplementation
 
class  ortools.math_opt.python.model.LinearBase
 
class  ortools.math_opt.python.model.QuadraticBase
 
class  ortools.math_opt.python.model.Variable
 
class  ortools.math_opt.python.model.LinearTerm
 
class  ortools.math_opt.python.model.QuadraticTerm
 
class  ortools.math_opt.python.model.LinearExpression
 
class  ortools.math_opt.python.model.QuadraticExpression
 
class  ortools.math_opt.python.model.LinearConstraint
 
class  ortools.math_opt.python.model.Objective
 
class  ortools.math_opt.python.model.LinearConstraintMatrixEntry
 
class  ortools.math_opt.python.model.UpdateTracker
 
class  ortools.math_opt.python.model.Model
 
class  ortools.math_opt.python.model.LinearSum
 
class  ortools.math_opt.python.model.QuadraticSum
 
class  ortools.math_opt.python.model.LinearProduct
 
class  ortools.math_opt.python.model.QuadraticProduct
 
class  ortools.math_opt.python.model.LinearLinearProduct
 
class  ortools.math_opt.python.model.NormalizedLinearInequality
 

Namespaces

namespace  ortools
 
namespace  ortools.math_opt
 
namespace  ortools.math_opt.python
 
namespace  ortools.math_opt.python.model
 

Functions

NoReturn ortools.math_opt.python.model._raise_binary_operator_type_error (str operator, Type[Any] lhs, Type[Any] rhs, Optional[str] extra_message=None)
 
NoReturn ortools.math_opt.python.model._raise_ne_not_supported ()
 
LinearExpression ortools.math_opt.python.model.as_flat_linear_expression (LinearTypes value)
 
QuadraticExpression ortools.math_opt.python.model.as_flat_quadratic_expression (QuadraticTypes value)
 
NormalizedLinearInequality ortools.math_opt.python.model.as_normalized_linear_inequality (Optional[Union[bool, BoundedLinearTypes]] bounded_expr=None, *, Optional[float] lb=None, Optional[float] ub=None, Optional[LinearTypes] expr=None)
 

Variables

 ortools.math_opt.python.model.Storage = model_storage.ModelStorage
 
 ortools.math_opt.python.model.StorageClass = model_storage.ModelStorageImplClass
 
 ortools.math_opt.python.model.LinearTypes = Union[int, float, "LinearBase"]
 
 ortools.math_opt.python.model.QuadraticTypes = Union[int, float, "LinearBase", "QuadraticBase"]
 
 ortools.math_opt.python.model.LinearTypesExceptVariable
 
tuple ortools.math_opt.python.model._CHAINED_COMPARISON_MESSAGE
 
tuple ortools.math_opt.python.model._EXPRESSION_COMP_EXPRESSION_MESSAGE
 
tuple ortools.math_opt.python.model.BoundedLinearTypesList
 
 ortools.math_opt.python.model.BoundedLinearTypes = Union[BoundedLinearTypesList]
 
 ortools.math_opt.python.model._T = TypeVar("_T", "LinearBase", Union["LinearBase", "QuadraticBase"])
 
 ortools.math_opt.python.model._LinearToProcessElements = _ToProcessElementsImplementation["LinearBase"]
 
 ortools.math_opt.python.model._QuadraticToProcessElements