LinearProgram.Solve Method

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Solve() Solves the model and returns the solution.
Solve(SimplexOptions, ParallelOptions) Solves a linear program with the specified options.
Solve(OptimizationGoal, ParallelOptions, Double) Solves a linear program with the specified options.

Solve(SimplexOptions, ParallelOptions)

Solves a linear program with the specified options.
C#
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.
C#
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.

See Also