OpenGM  2.3.x
Discrete Graphical Model Library
Public Attributes | List of all members
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage Struct Reference

Storage class for linear constraints representing the local polytope constraints. They are generated and stored for later use if LPInferenceBase::Parameter::LoosePolytope is selected as relaxation method. More...

#include <lp_inference_base.hxx>

+ Collaboration diagram for opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage:

Public Attributes

std::vector< SolverIndexTypevariableIDs_
 The variables of the LP/MIP model which are used in the constraint. More...
 
std::vector< SolverValueTypecoefficients_
 The coefficients for the variables of the LP/MIP model which are used in the constraint. More...
 
SolverValueType bound_
 The value for the right hand side of the constraint. More...
 
LinearConstraintType::LinearConstraintOperatorValueType operator_
 The operator type used to compare the left hand side of the constraint against the right hand side (<=, ==, >=). More...
 
std::string name_
 The name of the constraint. More...
 

Detailed Description

template<class LP_INFERENCE_TYPE>
struct opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage

Storage class for linear constraints representing the local polytope constraints. They are generated and stored for later use if LPInferenceBase::Parameter::LoosePolytope is selected as relaxation method.

Definition at line 97 of file lp_inference_base.hxx.

Member Data Documentation

template<class LP_INFERENCE_TYPE>
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage::bound_

The value for the right hand side of the constraint.

Definition at line 100 of file lp_inference_base.hxx.

template<class LP_INFERENCE_TYPE>
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage::coefficients_

The coefficients for the variables of the LP/MIP model which are used in the constraint.

Definition at line 99 of file lp_inference_base.hxx.

template<class LP_INFERENCE_TYPE>
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage::name_

The name of the constraint.

Definition at line 102 of file lp_inference_base.hxx.

template<class LP_INFERENCE_TYPE>
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage::operator_

The operator type used to compare the left hand side of the constraint against the right hand side (<=, ==, >=).

Definition at line 101 of file lp_inference_base.hxx.

template<class LP_INFERENCE_TYPE>
opengm::LPInferenceBase< LP_INFERENCE_TYPE >::ConstraintStorage::variableIDs_

The variables of the LP/MIP model which are used in the constraint.

Definition at line 98 of file lp_inference_base.hxx.