Enum gurobi::RelaxType
[−]
[src]
pub enum RelaxType { Linear, Quadratic, Cardinality, }
Type of cost function at feasibility relaxation
Variants
Linear
The weighted magnitude of bounds and constraint violations
(penalty(s_i) = w_i s_i
)
Quadratic
The weighted square of magnitude of bounds and constraint violations
(penalty(s_i) = w_i s_i^2
)
Cardinality
The weighted count of bounds and constraint violations
(penalty(s_i) = w_i * [s_i > 0]
)