Linear Program.Solve Method
Definition
Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Solve() | Solves the model and returns the solution. |
Solve( | Solves a linear program with the specified options. |
Solve( | Solves a linear program with the specified options. |
Solve(SimplexOptions, ParallelOptions)
Solves a linear program with the specified options.
public DenseVector<double> Solve(
SimplexOptions options,
ParallelOptions parallelOptions
)
Parameters
- options SimplexOptions
- An object that contains the options for the solver.
- parallelOptions ParallelOptions
- A ParallelOptions value that specifies the parallel behavior of the algorithm.
Return Value
DenseVector<Double>The solution of the linear program.
Solve(OptimizationGoal, ParallelOptions, Double)
Solves a linear program with the specified options.
public DenseVector<double> Solve(
OptimizationGoal goal,
ParallelOptions parallelOptions,
double range
)
Parameters
- goal OptimizationGoal
- A OptimizationGoal value.
- parallelOptions ParallelOptions
- A ParallelOptions value that specifies the parallel behavior of the algorithm.
- range Double
- The maximum value for the optimal value.
Return Value
DenseVector<Double>The solution of the linear program.