Struct grb::callback::MIPSolCtx[][src]

pub struct MIPSolCtx<'a>(_);
Expand description

Callback context object during MIPSOL.

Implementations

Retrieve the new (integer) solution values for the given variables. This will query the solution for ALL variables, and return the subset provided, so you should avoid calling this method multiple times per callback.

Signal Gurobi to terminate the optimisation. Will not take effect immediately

Retrieve the elapsed solver runtime in seconds.

Add a new lazy constraint to the model

Important: Requires that the LazyConstraints parameter is set to 1

Objective value for the new solution.

Current best objective.

Current best objective bound.

Current explored node count.

Current count of feasible solutions found.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.