pub struct Env { /* fields omitted */ }
Expand description
A CPLEX Environment. An Env
is necessary to create a
Problem
.
Set an environment parameter. e.g.
use rplex::{Env, EnvParam};
let mut env = Env::new().unwrap();
env.set_param(EnvParam::ScreenOutput(true)).unwrap();
env.set_param(EnvParam::RelativeGap(0.01)).unwrap();
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.