Struct gurobi::env::Env
[−]
[src]
pub struct Env {
// some fields omitted
}Gurobi environment object
Methods
impl Env[src]
fn new(logfilename: &str) -> Result<Env>
create an environment with log file
fn new_model(&self, modelname: &str) -> Result<Model>
create an empty model object associted with the environment.
fn get<P: Param>(&self, param: P) -> Result<P::Out>
Query the value of a parameter.
fn set<P: Param>(&mut self, param: P, value: P::Out) -> Result<()>
Set the value of a parameter.