Enum gurobi::RelaxType [] [src]

pub enum RelaxType {
    Linear,
    Quadratic,
    Cardinality,
}

Type of cost function at feasibility relaxation

Variants

The weighted magnitude of bounds and constraint violations (penalty(s_i) = w_i s_i)

The weighted square of magnitude of bounds and constraint violations (penalty(s_i) = w_i s_i^2)

The weighted count of bounds and constraint violations (penalty(s_i) = w_i * [s_i > 0])

Trait Implementations

impl Debug for RelaxType
[src]

Formats the value using the given formatter.

impl Into<i32> for RelaxType
[src]

Performs the conversion.