DotNet Reference
DotNet Reference
linear_solver/csharp/SolverHelper.cs
Go to the documentation of this file.
Variable [,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer, string name)
Definition: linear_solver/csharp/SolverHelper.cs:60
void SetCoefficient(Variable var, double coeff)
Definition: Objective.cs:51
void Minimize(Variable var)
Definition: linear_solver/csharp/SolverHelper.cs:235
Variable [,] MakeNumVarMatrix(int rows, int cols, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:87
Variable [,] MakeIntVarMatrix(int rows, int cols, double lb, double ub, string name)
Definition: linear_solver/csharp/SolverHelper.cs:139
Variable MakeNumVar(double lb, double ub, string name)
Definition: Solver.cs:84
static Solver CreateSolver(String name, String type)
Definition: linear_solver/csharp/SolverHelper.cs:193
Variable [] MakeBoolVarArray(int count, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:158
Variable MakeVar(double lb, double ub, bool integer, string name)
Definition: Solver.cs:77
OptimizationProblemType
Definition: Solver.cs:249
Variable [,] MakeVarMatrix(int rows, int cols, double lb, double ub, bool integer)
Definition: linear_solver/csharp/SolverHelper.cs:46
Constraint Add(LinearConstraint constraint)
Definition: linear_solver/csharp/SolverHelper.cs:203
Definition: Solver.cs:13
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:34
void Maximize(LinearExpr expr)
Definition: linear_solver/csharp/SolverHelper.cs:221
Variable MakeIntVar(double lb, double ub, string name)
Definition: Solver.cs:91
Variable [] MakeIntVarArray(int count, double lb, double ub, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:119
Variable [,] MakeNumVarMatrix(int rows, int cols, double lb, double ub, string name)
Definition: linear_solver/csharp/SolverHelper.cs:100
void Minimize(LinearExpr expr)
Definition: linear_solver/csharp/SolverHelper.cs:207
Variable [] MakeBoolVarArray(int count)
Definition: linear_solver/csharp/SolverHelper.cs:154
Variable [,] MakeIntVarMatrix(int rows, int cols, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:126
virtual Constraint Extract(Solver solver)
Definition: LinearConstraint.cs:27
Variable [] MakeNumVarArray(int count, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:76
Variable MakeBoolVar(string name)
Definition: Solver.cs:98
void SetOffset(double value)
Definition: Objective.cs:60
void Maximize(Variable var)
Definition: linear_solver/csharp/SolverHelper.cs:242
double Visit(Dictionary< Variable, double > coefficients)
Definition: LinearExpr.cs:27
static int GetSolverEnum(String solverType)
Definition: linear_solver/csharp/SolverHelper.cs:183
Definition: Constraint.cs:11
Variable [,] MakeBoolVarMatrix(int rows, int cols)
Definition: linear_solver/csharp/SolverHelper.cs:162
Variable [] MakeNumVarArray(int count, double lb, double ub, string var_name)
Definition: linear_solver/csharp/SolverHelper.cs:80
Variable [] MakeVarArray(int count, double lb, double ub, bool integer)
Definition: linear_solver/csharp/SolverHelper.cs:23
void SetMinimization()
Definition: Objective.cs:73
Variable [] MakeIntVarArray(int count, double lb, double ub)
Definition: linear_solver/csharp/SolverHelper.cs:115
Variable [,] MakeBoolVarMatrix(int rows, int cols, string name)
Definition: linear_solver/csharp/SolverHelper.cs:172