Struct gurobi::QuadExpr [] [src]

pub struct QuadExpr {
    // some fields omitted
}

Quadratic expression of variables

A quadratic expression consists of a linear expression and a set of variable-variable-coefficient triples to express the quadratic term.

Methods

impl QuadExpr
[src]

Add a linear term into the expression.

Add a quadratic term into the expression.

Add a constant into the expression.

Get actual value of the expression.

Trait Implementations

impl Clone for QuadExpr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Mul<f64> for QuadExpr
[src]

The resulting type after applying the * operator

The method for the * operator

impl Add<LinExpr> for QuadExpr
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub<LinExpr> for QuadExpr
[src]

The resulting type after applying the - operator

The method for the - operator

impl Add for QuadExpr
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for QuadExpr
[src]

The resulting type after applying the - operator

The method for the - operator