Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | _LinearConstraintStorage |
class | _QuadraticTermStorage |
class | _UpdateTracker |
class | _VariableStorage |
class | HashModelStorage |
Functions | |
None | _set_sparse_double_vector (Iterable[Tuple[int, float]] id_value_pairs, sparse_containers_pb2.SparseDoubleVectorProto proto) |
None | _set_sparse_bool_vector (Iterable[Tuple[int, bool]] id_value_pairs, sparse_containers_pb2.SparseBoolVectorProto proto) |
None | _variables_to_proto (Iterable[Tuple[int, _VariableStorage]] variables, model_pb2.VariablesProto proto) |
None | _linear_constraints_to_proto (Iterable[Tuple[int, _LinearConstraintStorage]] linear_constraints, model_pb2.LinearConstraintsProto proto) |
Variables | |
_QuadraticKey = model_storage.QuadraticTermIdKey | |
A minimal pure python implementation of model_storage.ModelStorage.
|
protected |
Exports variables to proto.
Definition at line 828 of file hash_model_storage.py.
|
protected |
id_value_pairs must be sorted, proto is filled.
Definition at line 797 of file hash_model_storage.py.
|
protected |
id_value_pairs must be sorted, proto is filled.
Definition at line 785 of file hash_model_storage.py.
|
protected |
Exports variables to proto.
Definition at line 809 of file hash_model_storage.py.
|
protected |
Definition at line 24 of file hash_model_storage.py.