Enum gurobi::Where [] [src]

pub enum Where {
    Polling,
    PreSolve {
        coldel: i32,
        rowdel: i32,
        senchg: i32,
        bndchg: i32,
        coecfg: i32,
    },
    Simplex {
        itrcnt: f64,
        objval: f64,
        priminf: f64,
        dualinf: f64,
        ispert: i32,
    },
    MIP {
        objbst: f64,
        objbnd: f64,
        nodcnt: f64,
        solcnt: f64,
        cutcnt: i32,
        nodleft: f64,
        itrcnt: f64,
    },
    MIPSol {
        obj: f64,
        objbst: f64,
        objbnd: f64,
        nodcnt: f64,
        solcnt: f64,
    },
    MIPNode {
        status: i32,
        objbst: f64,
        objbnd: f64,
        nodcnt: f64,
        solcnt: i32,
    },
    Message(String),
    Barrier {
        itrcnt: i32,
        primobj: f64,
        dualobj: f64,
        priminf: f64,
        dualinf: f64,
        compl: f64,
    },
}

Location where the callback called

If you want to get more information, see official manual.

Variants

Polling

Periodic polling callback

PreSolve

Currently performing presolve

Fields

coldel: i32

The number of columns removed by presolve to this point.

rowdel: i32

The number of rows removed by presolve to this point.

senchg: i32

The number of constraint senses changed by presolve to this point.

bndchg: i32

The number of variable bounds changed by presolve to this point.

coecfg: i32

The number of coefficients changed by presolve to this point.

Simplex

Currently in simplex

Fields

itrcnt: f64

Current simplex iteration count.

objval: f64

Current simplex objective value.

priminf: f64

Current primal infeasibility.

dualinf: f64

Current dual infeasibility.

ispert: i32

Is problem current perturbed?

MIP

Currently in MIP

Fields

objbst: f64

Current best objective.

objbnd: f64

Current best objective bound.

nodcnt: f64

Current explored node count.

solcnt: f64

Current count of feasible solutions found.

cutcnt: i32

Current count of cutting planes applied.

nodleft: f64

Current unexplored node count.

itrcnt: f64

Current simplex iteration count.

MIPSol

Found a new MIP incumbent

Fields

obj: f64

Objective value for new solution.

objbst: f64

Current best objective.

objbnd: f64

Current best objective bound.

nodcnt: f64

Current explored node count.

solcnt: f64

Current count of feasible solutions found.

MIPNode

Currently exploring a MIP node

Fields

status: i32

Optimization status of current MIP node (see the Status Code section for further information).

objbst: f64

Current best objective.

objbnd: f64

Current best objective bound.

nodcnt: f64

Current explored node count.

solcnt: i32

Current count of feasible solutions found.

Message(String)

Printing a log message

Barrier

Currently in barrier.

Fields

itrcnt: i32

Current barrier iteration count.

primobj: f64

Primal objective value for current barrier iterate.

dualobj: f64

Dual objective value for current barrier iterate.

priminf: f64

Primal infeasibility for current barrier iterate.

dualinf: f64

Dual infeasibility for current barrier iterate.

compl: f64

Complementarity violation for current barrier iterate.

Trait Implementations

impl Clone for Where
[src]

fn clone(&self) -> Where

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

impl Debug for Where
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Into<i32> for Where
[src]

fn into(self) -> i32

Performs the conversion.