Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
#include <gscip.h>
Public Attributes | |
SCIP_VAR * | indicator_variable = nullptr |
The z variable above. The vartype must be kBinary. | |
bool | negate_indicator = false |
std::vector< SCIP_Var * > | variables |
The x variable above. | |
std::vector< double > | coefficients |
a above. Must have the same size as x. | |
double | upper_bound = std::numeric_limits<double>::infinity() |
b above. | |
Models the constraint z = 1 => a * x <= b If negate_indicator, then instead: z = 0 => a * x <= b
std::vector<double> operations_research::GScipIndicatorConstraint::coefficients |
SCIP_VAR* operations_research::GScipIndicatorConstraint::indicator_variable = nullptr |
bool operations_research::GScipIndicatorConstraint::negate_indicator = false |
double operations_research::GScipIndicatorConstraint::upper_bound = std::numeric_limits<double>::infinity() |
std::vector<SCIP_Var*> operations_research::GScipIndicatorConstraint::variables |