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 \cdot [s_i > 0]$)

Trait Implementations

impl Debug for RelaxType
[src]

Formats the value using the given formatter. Read more

impl Copy for RelaxType
[src]

impl Clone for RelaxType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Into<i32> for RelaxType
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RelaxType

impl Sync for RelaxType