Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Solution Class
Collapse the table of content
Expand the table of content

Solution Class

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the result of solving a model.


Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public sealed class Solution

The Solution type exposes the following members.

Public propertyDecisionsGets the decisions and values for the solution of a model.
Public propertyDirectiveGets the directive that was passed to the solver that found the solution.
Public propertyGoalsGets the goals and values for the solution of a model.
Public propertyQualityGets or sets a value that represents the quality of a solution.
Public propertyStochasticSolutionGets the details about a stochastic solution.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetNextReturns the next solution.
Public methodGetReport()Gets a report about the solution of a model.
Public methodGetReport(ReportVerbosity)Gets a report about the solution of a model with the specified verbosity.
Public methodGetReport(ReportVerbosity, IFormatProvider)Gets a report about the solution of a model with the specified verbosity and format.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft