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
Public property LpResult Gets the result of solving a linear programming (LP) relaxation.
Public property MipBestBound Gets the best result from the mixed integer programming (MIP) solver.
Public property MipResult Gets the result from the mixed integer programming (MIP) solver after considering the integrality conditions.
Public property Result Gets the result of a solve attempt.
Public property SolutionQuality Gets the quality level of a solution.
Public property SolvedGoalCount Gets the number of goals being solved.

Top

Methods

  Name Description
Public method GetBasic Returns a value that indicates whether a variable is a basic variable.
Public method GetSolutionValue Returns the objective value of a goal.
Public method GetSolvedGoal Returns information about a solved goal.
Public method GetValue Gets the value of a variable.
Public method GetValueState Gets the value state of a variable.

Top

See Also

Reference

Microsoft.SolverFoundation.Services Namespace