Struct gurobi::model::Var
[−]
[src]
pub struct Var(_);
represents a set of decision variables.
Trait Implementations
impl Copy for Var[src]
impl Clone for Var[src]
fn clone(&self) -> Var
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Proxy for Var[src]
fn index(&self) -> i32
fn get<A: AttrArray>(&self, model: &Model, attr: A) -> Result<A::Out>
fn set<A: AttrArray>(&mut self, model: &mut Model, attr: A, val: A::Out) -> Result<()>
impl Into<QuadExpr> for Var[src]
impl Mul<f64> for Var[src]
type Output = LinExpr
The resulting type after applying the * operator
fn mul(self, rhs: f64) -> Self::Output
The method for the * operator
impl Mul for Var[src]
type Output = QuadExpr
The resulting type after applying the * operator
fn mul(self, rhs: Var) -> Self::Output
The method for the * operator
impl Add for Var[src]
type Output = LinExpr
The resulting type after applying the + operator
fn add(self, rhs: Var) -> LinExpr
The method for the + operator
impl Sub for Var[src]
type Output = LinExpr
The resulting type after applying the - operator
fn sub(self, rhs: Var) -> LinExpr
The method for the - operator