Module grb::prelude [−][src]
Expand description
Most commonly used items from this crate bundled for convenient import.
Re-exports
pub use crate::callback::Callback; | |
pub use crate::callback::Where; | |
pub use crate::expr::AttachModel; | |
pub use crate::expr::Expr; | |
pub use crate::expr::GurobiSum; | |
pub use ModelSense::*; | |
pub use VarType::*; |
Modules
attr | |
param |
Macros
add_binvar | |
add_ctsvar | |
add_intvar | |
add_var | |
c |
Structs
Constr | A linear constraint added to a |
Env | A Gurobi Environment object. |
Model | Gurobi Model object. |
QConstr | A quadratic constraint added to a |
SOS | An SOS constraint added to a |
Var | A Gurobi variable. |
Enums
ConstrSense | Sense for new linear/quadratic constraint |
ModelSense | Sense of objective function, aka direction of optimisation. |
RelaxType | Type of cost function at feasibility relaxation |
SOSType | Type of SOS constraint |
Status | Status of a model |
VarType | Gurobi variable types (see manual) |
Constants
INFINITY | A large constant used by Gurobi to represent numeric infinity. |
Traits
ModelObject | This trait encompasses all Gurobi model objects: |