Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.LinearSolver.Objective Class Reference
Inheritance diagram for Google.OrTools.LinearSolver.Objective:

Public Member Functions

void Dispose ()
 
void Clear ()
 
void SetCoefficient (Variable var, double coeff)
 
double GetCoefficient (Variable var)
 
void SetOffset (double value)
 
double Offset ()
 
void SetOptimizationDirection (bool maximize)
 
void SetMinimization ()
 
void SetMaximization ()
 
bool Maximization ()
 
bool Minimization ()
 
double Value ()
 
double BestBound ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 15 of file Objective.cs.

Member Function Documentation

◆ BestBound()

double Google.OrTools.LinearSolver.Objective.BestBound ( )
inline

Definition at line 111 of file Objective.cs.

◆ Clear()

void Google.OrTools.LinearSolver.Objective.Clear ( )
inline

Definition at line 62 of file Objective.cs.

◆ Dispose() [1/2]

void Google.OrTools.LinearSolver.Objective.Dispose ( )
inline

Definition at line 45 of file Objective.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.LinearSolver.Objective.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 50 of file Objective.cs.

◆ GetCoefficient()

double Google.OrTools.LinearSolver.Objective.GetCoefficient ( Variable var)
inline

Definition at line 70 of file Objective.cs.

◆ Maximization()

bool Google.OrTools.LinearSolver.Objective.Maximization ( )
inline

Definition at line 96 of file Objective.cs.

◆ Minimization()

bool Google.OrTools.LinearSolver.Objective.Minimization ( )
inline

Definition at line 101 of file Objective.cs.

◆ Offset()

double Google.OrTools.LinearSolver.Objective.Offset ( )
inline

Definition at line 79 of file Objective.cs.

◆ SetCoefficient()

void Google.OrTools.LinearSolver.Objective.SetCoefficient ( Variable var,
double coeff )
inline

Definition at line 66 of file Objective.cs.

◆ SetMaximization()

void Google.OrTools.LinearSolver.Objective.SetMaximization ( )
inline

Definition at line 92 of file Objective.cs.

◆ SetMinimization()

void Google.OrTools.LinearSolver.Objective.SetMinimization ( )
inline

Definition at line 88 of file Objective.cs.

◆ SetOffset()

void Google.OrTools.LinearSolver.Objective.SetOffset ( double value)
inline

Definition at line 75 of file Objective.cs.

◆ SetOptimizationDirection()

void Google.OrTools.LinearSolver.Objective.SetOptimizationDirection ( bool maximize)
inline

Definition at line 84 of file Objective.cs.

◆ Value()

double Google.OrTools.LinearSolver.Objective.Value ( )
inline

Definition at line 106 of file Objective.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.LinearSolver.Objective.swigCMemOwn
protected

Definition at line 17 of file Objective.cs.


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