Enum gurobi::RelaxType
[−]
[src]
pub enum RelaxType {
Linear,
Quadratic,
Cardinality,
}Type of cost function at feasibility relaxation
Variants
LinearThe weighted magnitude of bounds and constraint violations
(penalty(s_i) = w_i s_i)
QuadraticThe weighted square of magnitude of bounds and constraint violations
(penalty(s_i) = w_i s_i^2)
CardinalityThe weighted count of bounds and constraint violations
(penalty(s_i) = w_i * [s_i > 0])
Trait Implementations
impl Clone for RelaxType[src]
fn clone(&self) -> RelaxType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more