INonlinearSolution Interface
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Encapsulates the results and status after an attempt to solve an IRowVariableSolver object.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Interface INonlinearSolution _
Inherits ISolverSolution
public interface INonlinearSolution : ISolverSolution
public interface class INonlinearSolution : ISolverSolution
type INonlinearSolution =
interface
interface ISolverSolution
end
public interface INonlinearSolution extends ISolverSolution
The INonlinearSolution type exposes the following members.
Properties
Name | Description | |
---|---|---|
Result | Gets the type of result of a solve attempt. | |
SolvedGoalCount | Gets the number of goals that are being solved. |
Top
Methods
Name | Description | |
---|---|---|
GetSolutionValue | Returns the objective value of a goal. | |
GetSolvedGoal | Returns information about a solved goal. | |
GetValue | Returns the value of the specified variable. |
Top
Remarks
The IRowVariableSolver object is either an INonlinearSolver or an ITermSolver.
INonlinearSolution contains the following information:
The type of result, which is retrievable from the Result property.
Variable values, which indicate the solver’s best attempt at an optimal feasible solution. The GetValue method provides this information.
Detailed information about which goals were considered and solved to optimality.