Share via


Microsoft.SolverFoundation.Common Namespace

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

The Microsoft.SolverFoundation.Common namespace contains classes that provide numeric types that complement the numeric primitives that are defined by the .NET Framework. In addition, there are classes to manage tokens and exceptions from Microsoft Solver Foundation.

Classes

  Class Description
Public class AlgebraContext Represents global parameters for algebra algorithms.
Public class EmptyModelException The exception that is thrown when the given model contains a construction error during serialization.
Public class InfeasibleModelException The exception that is thrown when the given model contains a construction error during serialization.
Public class InvalidModelDataException The exception that is thrown when the given data is invalid for the model.
Public class InvalidSolverPropertyException The exception that is thrown when an invalid property name is specified in an event handler.
Public class InvalidTermException The exception that is thrown when a term of the model could not be represented for a specific solver.
Public class ModelException The exception that is thrown when the given model has a construction error.
Public class ModelTooLargeException The exception that is thrown when the time limit is reached or the user cancels the operation.
Public class MsfException Represents the base class for exceptions in Microsoft Solver Foundation.
Public class MsfLicenseException The exception that is thrown when a model is too large for the installed edition of Microsoft Solver Foundation.
Public class MsfSolverConfigurationException Represents the exception that is thrown when the model has a configuration error.
Public class NormStr Represents a normalized string type that is used for string pooling.
Public class OmlParseException The exception that is thrown when an Optimization Modeling Language (OML) model has invalid syntax.
Public class OmlParseExceptionLocation Contains information about the location of an Optimization Modeling Language (OML) parse error.
Public class TimeLimitReachedException The exception that is thrown when the time limit is reached or the user cancels a task.
Public class UnsolvableModelException The exception that is thrown when a solver is not found for a model.

Structures

  Structure Description
Public structure BigInteger Represents an arbitrarily large signed integer.
Public structure LogIdSet A set of logging IDs.
Public structure Rational Represents a rational number.

Interfaces

  Interface Description
Public interface ILogSource Provides the methods needed to support logging.

Enumerations

  Enumeration Description
Public enumeration InvalidSolverPropertyReason Represents the reason for an InvalidSolverPropertyException exception.
Public enumeration OmlParseExceptionReason Defines the conditions that cause OmlParseException.

See Also

Reference

Other Resources

Microsoft Solver Foundation 3.1