Struct gurobi::model::LinExpr
[−]
[src]
pub struct LinExpr {
// some fields omitted
}Methods
impl LinExpr[src]
fn new() -> LinExpr
fn term(self, v: Var, c: f64) -> LinExpr
fn offset(self, offset: f64) -> LinExpr
Trait Implementations
impl Into<QuadExpr> for LinExpr[src]
impl Add<f64> for LinExpr[src]
type Output = LinExpr
The resulting type after applying the + operator
fn add(self, rhs: f64) -> LinExpr
The method for the + operator
impl Sub<f64> for LinExpr[src]
type Output = LinExpr
The resulting type after applying the - operator
fn sub(self, rhs: f64) -> LinExpr
The method for the - operator
impl Add for LinExpr[src]
type Output = LinExpr
The resulting type after applying the + operator
fn add(self, rhs: LinExpr) -> LinExpr
The method for the + operator