Struct gurobi::QuadExpr[][src]

pub struct QuadExpr { /* 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 Debug for QuadExpr
[src]

Formats the value using the given formatter. Read more

impl Clone for QuadExpr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for QuadExpr
[src]

Returns the "default value" for a type. Read more

impl Into<(Vec<i32>, Vec<f64>, Vec<i32>, Vec<i32>, Vec<f64>, f64)> for QuadExpr
[src]

Performs the conversion.

impl Into<QuadExpr> for Var
[src]

Performs the conversion.

impl<'a> Into<QuadExpr> for &'a Var
[src]

Performs the conversion.

impl Into<QuadExpr> for LinExpr
[src]

Performs the conversion.

impl Mul<f64> for QuadExpr
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Add<LinExpr> for QuadExpr
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<LinExpr> for QuadExpr
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Add for QuadExpr
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for QuadExpr
[src]

The resulting type after applying the - operator.

Performs the - operation.

Auto Trait Implementations

impl !Send for QuadExpr

impl !Sync for QuadExpr