DotNet Reference
.Net Reference
linear_solver/csharp/SolverHelper.cs
Go to the documentation of this file.
58 public Variable[,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer, string name)
Variable [,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer, string name)
Definition: linear_solver/csharp/SolverHelper.cs:58
void SetCoefficient(Variable var, double coeff)
Definition: Objective.cs:51
void Minimize(Variable var)
Definition: linear_solver/csharp/SolverHelper.cs:214
Variable [,] MakeNumVarMatrix(int rows, int cols, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:82
Variable [,] MakeIntVarMatrix(int rows, int cols, double lb, double ub, string name)
Definition: linear_solver/csharp/SolverHelper.cs:132
Variable MakeNumVar(double lb, double ub, string name)
Definition: linear_solver/Solver.cs:97
Variable [] MakeBoolVarArray(int count, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:151
Variable MakeVar(double lb, double ub, bool integer, string name)
Definition: linear_solver/Solver.cs:90
Variable [,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer)
Definition: linear_solver/csharp/SolverHelper.cs:45
Constraint Add(LinearConstraint constraint)
Definition: linear_solver/csharp/SolverHelper.cs:183
Objective Objective()
Definition: linear_solver/Solver.cs:167
void SetMaximization()
Definition: Objective.cs:77
Variable [] MakeVarArray(int count, double lb, double ub, bool integer, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:35
void Maximize(LinearExpr expr)
Definition: linear_solver/csharp/SolverHelper.cs:201
Variable MakeIntVar(double lb, double ub, string name)
Definition: linear_solver/Solver.cs:104
Variable [] MakeIntVarArray(int count, double lb, double ub, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:114
Variable [,] MakeNumVarMatrix(int rows, int cols, double lb, double ub, string name)
Definition: linear_solver/csharp/SolverHelper.cs:95
void Minimize(LinearExpr expr)
Definition: linear_solver/csharp/SolverHelper.cs:188
Variable [] MakeBoolVarArray(int count)
Definition: linear_solver/csharp/SolverHelper.cs:146
Variable [,] MakeIntVarMatrix(int rows, int cols, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:119
virtual Constraint Extract(Solver solver)
Definition: LinearConstraint.cs:26
Variable [] MakeNumVarArray(int count, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:72
Variable MakeBoolVar(string name)
Definition: linear_solver/Solver.cs:111
void SetOffset(double value)
Definition: Objective.cs:60
void Maximize(Variable var)
Definition: linear_solver/csharp/SolverHelper.cs:221
double Visit(Dictionary< Variable, double > coefficients)
Definition: LinearExpr.cs:26
Variable [,] MakeBoolVarMatrix(int rows, int cols)
Definition: linear_solver/csharp/SolverHelper.cs:156
Variable [] MakeNumVarArray(int count, double lb, double ub, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:77
Variable [] MakeVarArray(int count, double lb, double ub, bool integer)
Definition: linear_solver/csharp/SolverHelper.cs:25
void SetMinimization()
Definition: Objective.cs:73
Variable [] MakeIntVarArray(int count, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:109
Variable [,] MakeBoolVarMatrix(int rows, int cols, string name)
Definition: linear_solver/csharp/SolverHelper.cs:169