INonlinearSolution Interface
Collapse the table of content
Expand the table of content

INonlinearSolution Interface

Solver Foundation 3.0

[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)

public interface INonlinearSolution : ISolverSolution

The INonlinearSolution type exposes the following members.

Public propertyResultGets the type of result of a solve attempt.
Public propertySolvedGoalCountGets the number of goals that are being solved.

Public methodGetSolutionValueReturns the objective value of a goal.
Public methodGetSolvedGoalReturns information about a solved goal.
Public methodGetValueReturns the value of the specified variable.

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.

© 2015 Microsoft