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

Go to the source code of this file.

Classes

class  ortools.math_opt.python.solution.BasisStatus
class  ortools.math_opt.python.solution.SolutionStatus
class  ortools.math_opt.python.solution.PrimalSolution
class  ortools.math_opt.python.solution.PrimalRay
class  ortools.math_opt.python.solution.DualSolution
class  ortools.math_opt.python.solution.DualRay
class  ortools.math_opt.python.solution.Basis
class  ortools.math_opt.python.solution.Solution

Namespaces

namespace  ortools
namespace  ortools.math_opt
namespace  ortools.math_opt.python
namespace  ortools.math_opt.python.solution

Functions

Optional[SolutionStatusortools.math_opt.python.solution.parse_optional_solution_status (solution_pb2.SolutionStatusProto proto)
solution_pb2.SolutionStatusProto ortools.math_opt.python.solution.optional_solution_status_to_proto (Optional[SolutionStatus] status)
PrimalSolution ortools.math_opt.python.solution.parse_primal_solution (solution_pb2.PrimalSolutionProto proto, model.Model mod, *, bool validate=True)
PrimalRay ortools.math_opt.python.solution.parse_primal_ray (solution_pb2.PrimalRayProto proto, model.Model mod, *, bool validate=True)
DualSolution ortools.math_opt.python.solution.parse_dual_solution (solution_pb2.DualSolutionProto proto, model.Model mod, *, bool validate=True)
DualRay ortools.math_opt.python.solution.parse_dual_ray (solution_pb2.DualRayProto proto, model.Model mod, *, bool validate=True)
Basis ortools.math_opt.python.solution.parse_basis (solution_pb2.BasisProto proto, model.Model mod, *, bool validate=True)
solution_pb2.SparseBasisStatusVector ortools.math_opt.python.solution._to_sparse_basis_status_vector_proto (Dict[T, BasisStatus] terms)
Solution ortools.math_opt.python.solution.parse_solution (solution_pb2.SolutionProto proto, model.Model mod, *, bool validate=True)

Variables

 ortools.math_opt.python.solution.T = TypeVar("T", variables.Variable, linear_constraints.LinearConstraint)