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)
virtual Constraint Extract(Solver solver)
Definition: LinearConstraint.cs:26
double Visit(Dictionary< Variable, double > coefficients)
Definition: LinearExpr.cs:26
Variable[] MakeVarArray(int count, double lb, double ub, bool integer)
Definition: linear_solver/csharp/SolverHelper.cs:25
Variable[] MakeIntVarArray(int count, double lb, double ub, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:114
void Maximize(LinearExpr expr)
Definition: linear_solver/csharp/SolverHelper.cs:201
Constraint Add(LinearConstraint constraint)
Definition: linear_solver/csharp/SolverHelper.cs:183
Variable[,] MakeIntVarMatrix(int rows, int cols, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:119
void Minimize(LinearExpr expr)
Definition: linear_solver/csharp/SolverHelper.cs:188
Variable[,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer, string name)
Definition: linear_solver/csharp/SolverHelper.cs:58
Variable[,] MakeNumVarMatrix(int rows, int cols, double lb, double ub, string name)
Definition: linear_solver/csharp/SolverHelper.cs:95
Variable[] MakeVarArray(int count, double lb, double ub, bool integer, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:35
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
void Maximize(Variable var)
Definition: linear_solver/csharp/SolverHelper.cs:221
Variable[] MakeBoolVarArray(int count)
Definition: linear_solver/csharp/SolverHelper.cs:146
Variable[] MakeIntVarArray(int count, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:109
Variable[] MakeNumVarArray(int count, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:72
Variable[,] MakeBoolVarMatrix(int rows, int cols, string name)
Definition: linear_solver/csharp/SolverHelper.cs:169
Variable[,] MakeIntVarMatrix(int rows, int cols, double lb, double ub, string name)
Definition: linear_solver/csharp/SolverHelper.cs:132
Variable[,] MakeBoolVarMatrix(int rows, int cols)
Definition: linear_solver/csharp/SolverHelper.cs:156
Variable[] MakeBoolVarArray(int count, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:151
Variable[,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer)
Definition: linear_solver/csharp/SolverHelper.cs:45
Variable[] MakeNumVarArray(int count, double lb, double ub, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:77