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

Go to the source code of this file.

Classes

class  ortools.math_opt.python.sparse_containers.SparseVectorFilter
 

Namespaces

namespace  ortools
 
namespace  ortools.math_opt
 
namespace  ortools.math_opt.python
 
namespace  ortools.math_opt.python.sparse_containers
 

Functions

sparse_containers_pb2.SparseDoubleVectorProto ortools.math_opt.python.sparse_containers.to_sparse_double_vector_proto (Mapping[VarOrConstraintType, float] terms)
 
sparse_containers_pb2.SparseInt32VectorProto ortools.math_opt.python.sparse_containers.to_sparse_int32_vector_proto (Mapping[VarOrConstraintType, int] terms)
 
Dict[model.Variable, float] ortools.math_opt.python.sparse_containers.parse_variable_map (sparse_containers_pb2.SparseDoubleVectorProto proto, model.Model mod)
 
Dict[model.LinearConstraint, float] ortools.math_opt.python.sparse_containers.parse_linear_constraint_map (sparse_containers_pb2.SparseDoubleVectorProto proto, model.Model mod)
 

Variables

 ortools.math_opt.python.sparse_containers.VarOrConstraintType
 
 ortools.math_opt.python.sparse_containers.VariableFilter = SparseVectorFilter[model.Variable]
 
 ortools.math_opt.python.sparse_containers.LinearConstraintFilter = SparseVectorFilter[model.LinearConstraint]