Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.LinearSolver.LinearExpr Class Reference
Inheritance diagram for Google.OrTools.LinearSolver.LinearExpr:
Google.OrTools.LinearSolver.ProductCst Google.OrTools.LinearSolver.Sum Google.OrTools.LinearSolver.SumArray Google.OrTools.LinearSolver.SumCst Google.OrTools.LinearSolver.SumVarArray Google.OrTools.LinearSolver.VarWrapper

Public Member Functions

virtual double DoVisit (Dictionary< Variable, double > coefficients, double multiplier)
 
virtual double SolutionValue ()
 
double Visit (Dictionary< Variable, double > coefficients)
 

Static Public Member Functions

static LinearExpr operator+ (LinearExpr a, double v)
 
static LinearExpr operator+ (double v, LinearExpr a)
 
static LinearExpr operator+ (LinearExpr a, LinearExpr b)
 
static LinearExpr operator- (LinearExpr a, double v)
 
static LinearExpr operator- (double v, LinearExpr a)
 
static LinearExpr operator- (LinearExpr a, LinearExpr b)
 
static LinearExpr operator- (LinearExpr a)
 
static LinearExpr operator* (LinearExpr a, double v)
 
static LinearExpr operator/ (LinearExpr a, double v)
 
static LinearExpr operator* (double v, LinearExpr a)
 
static RangeConstraint operator== (LinearExpr a, double v)
 
static RangeConstraint operator== (double v, LinearExpr a)
 
static RangeConstraint operator!= (LinearExpr a, double v)
 
static RangeConstraint operator!= (double v, LinearExpr a)
 
static Equality operator== (LinearExpr a, LinearExpr b)
 
static Equality operator!= (LinearExpr a, LinearExpr b)
 
static RangeConstraint operator<= (LinearExpr a, double v)
 
static RangeConstraint operator>= (LinearExpr a, double v)
 
static RangeConstraint operator<= (LinearExpr a, LinearExpr b)
 
static RangeConstraint operator>= (LinearExpr a, LinearExpr b)
 
static implicit operator LinearExpr (Variable a)
 

Detailed Description

Definition at line 19 of file LinearExpr.cs.

Member Function Documentation

◆ DoVisit()

virtual double Google.OrTools.LinearSolver.LinearExpr.DoVisit ( Dictionary< Variable, double > coefficients,
double multiplier )
inlinevirtual

◆ operator LinearExpr()

static implicit Google.OrTools.LinearSolver.LinearExpr.operator LinearExpr ( Variable a)
inlinestatic

Definition at line 136 of file LinearExpr.cs.

◆ operator!=() [1/3]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator!= ( double v,
LinearExpr a )
inlinestatic

Definition at line 101 of file LinearExpr.cs.

◆ operator!=() [2/3]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator!= ( LinearExpr a,
double v )
inlinestatic

Definition at line 96 of file LinearExpr.cs.

◆ operator!=() [3/3]

static Equality Google.OrTools.LinearSolver.LinearExpr.operator!= ( LinearExpr a,
LinearExpr b )
inlinestatic

Definition at line 111 of file LinearExpr.cs.

◆ operator*() [1/2]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator* ( double v,
LinearExpr a )
inlinestatic

Definition at line 81 of file LinearExpr.cs.

◆ operator*() [2/2]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator* ( LinearExpr a,
double v )
inlinestatic

Definition at line 71 of file LinearExpr.cs.

◆ operator+() [1/3]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator+ ( double v,
LinearExpr a )
inlinestatic

Definition at line 41 of file LinearExpr.cs.

◆ operator+() [2/3]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator+ ( LinearExpr a,
double v )
inlinestatic

Definition at line 36 of file LinearExpr.cs.

◆ operator+() [3/3]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator+ ( LinearExpr a,
LinearExpr b )
inlinestatic

Definition at line 46 of file LinearExpr.cs.

◆ operator-() [1/4]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator- ( double v,
LinearExpr a )
inlinestatic

Definition at line 56 of file LinearExpr.cs.

◆ operator-() [2/4]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator- ( LinearExpr a)
inlinestatic

Definition at line 66 of file LinearExpr.cs.

◆ operator-() [3/4]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator- ( LinearExpr a,
double v )
inlinestatic

Definition at line 51 of file LinearExpr.cs.

◆ operator-() [4/4]

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator- ( LinearExpr a,
LinearExpr b )
inlinestatic

Definition at line 61 of file LinearExpr.cs.

◆ operator/()

static LinearExpr Google.OrTools.LinearSolver.LinearExpr.operator/ ( LinearExpr a,
double v )
inlinestatic

Definition at line 76 of file LinearExpr.cs.

◆ operator<=() [1/2]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator<= ( LinearExpr a,
double v )
inlinestatic

Definition at line 116 of file LinearExpr.cs.

◆ operator<=() [2/2]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator<= ( LinearExpr a,
LinearExpr b )
inlinestatic

Definition at line 126 of file LinearExpr.cs.

◆ operator==() [1/3]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator== ( double v,
LinearExpr a )
inlinestatic

Definition at line 91 of file LinearExpr.cs.

◆ operator==() [2/3]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator== ( LinearExpr a,
double v )
inlinestatic

Definition at line 86 of file LinearExpr.cs.

◆ operator==() [3/3]

static Equality Google.OrTools.LinearSolver.LinearExpr.operator== ( LinearExpr a,
LinearExpr b )
inlinestatic

Definition at line 106 of file LinearExpr.cs.

◆ operator>=() [1/2]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator>= ( LinearExpr a,
double v )
inlinestatic

Definition at line 121 of file LinearExpr.cs.

◆ operator>=() [2/2]

static RangeConstraint Google.OrTools.LinearSolver.LinearExpr.operator>= ( LinearExpr a,
LinearExpr b )
inlinestatic

Definition at line 131 of file LinearExpr.cs.

◆ SolutionValue()

◆ Visit()

double Google.OrTools.LinearSolver.LinearExpr.Visit ( Dictionary< Variable, double > coefficients)
inline

Definition at line 31 of file LinearExpr.cs.


The documentation for this class was generated from the following file: