Struct gurobi::model::QuadExpr [] [src]

pub struct QuadExpr {
    // some fields omitted
}

Methods

impl QuadExpr
[src]

fn new() -> QuadExpr

fn term(self, var: Var, coeff: f64) -> QuadExpr

fn qterm(self, row: Var, col: Var, coeff: f64) -> QuadExpr

fn offset(self, offset: f64) -> QuadExpr

Trait Implementations

impl Mul<f64> for QuadExpr
[src]

type Output = QuadExpr

The resulting type after applying the * operator

fn mul(self, rhs: f64) -> QuadExpr

The method for the * operator

impl Add<LinExpr> for QuadExpr
[src]

type Output = QuadExpr

The resulting type after applying the + operator

fn add(self, rhs: LinExpr) -> QuadExpr

The method for the + operator

impl Sub<LinExpr> for QuadExpr
[src]

type Output = QuadExpr

The resulting type after applying the - operator

fn sub(self, rhs: LinExpr) -> QuadExpr

The method for the - operator

impl Add for QuadExpr
[src]

type Output = QuadExpr

The resulting type after applying the + operator

fn add(self, rhs: QuadExpr) -> QuadExpr

The method for the + operator

impl Sub for QuadExpr
[src]

type Output = QuadExpr

The resulting type after applying the - operator

fn sub(self, rhs: QuadExpr) -> QuadExpr

The method for the - operator