Struct rplex::Env[][src]

pub struct Env { /* fields omitted */ }
Expand description

A CPLEX Environment. An Env is necessary to create a Problem.

Implementations

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();

Trait Implementations

Executes the destructor for this type. Read more

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.