Ejemplo n.º 1
0
 def ComputeConstraintActivities(self) -> "std::vector< double >":
     r"""
     Advanced usage: compute the "activities" of all constraints, which are the
     sums of their linear terms. The activities are returned in the same order
     as constraints(), which is the order in which constraints were added; but
     you can also use MPConstraint::index() to get a constraint's index.
     """
     return _pywraplp.Solver_ComputeConstraintActivities(self)
Ejemplo n.º 2
0
 def ComputeConstraintActivities(
         self) -> "std::vector< double,std::allocator< double > >":
     return _pywraplp.Solver_ComputeConstraintActivities(self)
Ejemplo n.º 3
0
 def ComputeConstraintActivities(self):
     return _pywraplp.Solver_ComputeConstraintActivities(self)