Solve Method

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Solves the given model. Optimizes if model contains at least one objective.

Namespace: Optimization.Solver.Interfaces
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
S Solve(
	M model,
	IDictionary<string, double> variableValues
)
Visual Basic
Function Solve ( _
	model As M, _
	variableValues As IDictionary(Of String, Double) _
) As S
Visual C++
S Solve(
	M model, 
	IDictionary<String^, double>^ variableValues
)

Parameters

model
Type: M
The model to solve.
variableValues
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Double>)>)>
Initial values for all or a subset of variables in model.

Return Value

[Missing <returns> documentation for "M:Optimization.Solver.Interfaces.ICanSolve`2.Solve(`0,System.Collections.Generic.IDictionary{System.String,System.Double})"]

Exceptions

ExceptionCondition
System..::..NotSupportedExceptionIf this solver instance not supports solving.
System..::..InvalidOperationExceptionIf this solver instance is busy.
System..::..ArgumentExceptionIf this solver instance cannot handle the kind of model.

See Also