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

Public Member Functions

void Dispose ()
 
string Name ()
 
void SetCoefficient (Variable var, double coeff)
 
double GetCoefficient (Variable var)
 
double Lb ()
 
double Ub ()
 
void SetLb (double lb)
 
void SetUb (double ub)
 
void SetBounds (double lb, double ub)
 
bool IsLazy ()
 
void SetIsLazy (bool laziness)
 
int Index ()
 
double DualValue ()
 
Solver.BasisStatus BasisStatus ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 15 of file Constraint.cs.

Member Function Documentation

◆ BasisStatus()

Solver.BasisStatus Google.OrTools.LinearSolver.Constraint.BasisStatus ( )
inline

Definition at line 117 of file Constraint.cs.

◆ Dispose() [1/2]

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

Definition at line 45 of file Constraint.cs.

◆ Dispose() [2/2]

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

Definition at line 50 of file Constraint.cs.

◆ DualValue()

double Google.OrTools.LinearSolver.Constraint.DualValue ( )
inline

Definition at line 112 of file Constraint.cs.

◆ GetCoefficient()

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

Definition at line 71 of file Constraint.cs.

◆ Index()

int Google.OrTools.LinearSolver.Constraint.Index ( )
inline

Definition at line 107 of file Constraint.cs.

◆ IsLazy()

bool Google.OrTools.LinearSolver.Constraint.IsLazy ( )
inline

Definition at line 98 of file Constraint.cs.

◆ Lb()

double Google.OrTools.LinearSolver.Constraint.Lb ( )
inline

Definition at line 76 of file Constraint.cs.

◆ Name()

string Google.OrTools.LinearSolver.Constraint.Name ( )
inline

Definition at line 62 of file Constraint.cs.

◆ SetBounds()

void Google.OrTools.LinearSolver.Constraint.SetBounds ( double lb,
double ub )
inline

Definition at line 94 of file Constraint.cs.

◆ SetCoefficient()

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

Definition at line 67 of file Constraint.cs.

◆ SetIsLazy()

void Google.OrTools.LinearSolver.Constraint.SetIsLazy ( bool laziness)
inline

Definition at line 103 of file Constraint.cs.

◆ SetLb()

void Google.OrTools.LinearSolver.Constraint.SetLb ( double lb)
inline

Definition at line 86 of file Constraint.cs.

◆ SetUb()

void Google.OrTools.LinearSolver.Constraint.SetUb ( double ub)
inline

Definition at line 90 of file Constraint.cs.

◆ Ub()

double Google.OrTools.LinearSolver.Constraint.Ub ( )
inline

Definition at line 81 of file Constraint.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.LinearSolver.Constraint.swigCMemOwn
protected

Definition at line 17 of file Constraint.cs.


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