Struct gurobi::model::Var
[−]
[src]
pub struct Var(_);
represents a set of decision variables.
Trait Implementations
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 new(idx: i32) -> Var
fn index(&self) -> i32
fn set_index(&mut self, value: 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<'a> Into<QuadExpr> for &'a 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<'a> Mul for &'a Var[src]
type Output = QuadExpr
The resulting type after applying the * operator
fn mul(self, rhs: &'a Var) -> Self::Output
The method for the * operator
impl<'a> Add for &'a Var[src]
type Output = LinExpr
The resulting type after applying the + operator
fn add(self, rhs: &Var) -> LinExpr
The method for the + operator
impl<'a> Sub for &'a Var[src]
type Output = LinExpr
The resulting type after applying the - operator
fn sub(self, rhs: &Var) -> LinExpr
The method for the - operator