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