ILinearSolution 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 ILinearModel object.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Interface ILinearSolution _
Inherits ISolverSolution
public interface ILinearSolution : ISolverSolution
public interface class ILinearSolution : ISolverSolution
type ILinearSolution =
interface
interface ISolverSolution
end
public interface ILinearSolution extends ISolverSolution
The ILinearSolution type exposes the following members.
Properties
Name | Description | |
---|---|---|
LpResult | Gets the result of solving a linear programming (LP) relaxation. | |
MipBestBound | Gets the best result from the mixed integer programming (MIP) solver. | |
MipResult | Gets the result from the mixed integer programming (MIP) solver after considering the integrality conditions. | |
Result | Gets the result of a solve attempt. | |
SolutionQuality | Gets the quality level of a solution. | |
SolvedGoalCount | Gets the number of goals being solved. |
Top
Methods
Name | Description | |
---|---|---|
GetBasic | Returns a value that indicates whether a variable is a basic variable. | |
GetSolutionValue | Returns the objective value of a goal. | |
GetSolvedGoal | Returns information about a solved goal. | |
GetValue | Gets the value of a variable. | |
GetValueState | Gets the value state of a variable. |
Top