Export (0) Print
Expand All

InteriorPointSolver 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.]

Solves linear and nonlinear convex optimization problems.

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

public class InteriorPointSolver : SecondOrderConicModel, 
	ILinearSolver, ISolver, ILinearModel, ILinearSolution, ISolverSolution, 
	ILogSource, IInteriorPointStatistics, IReportProvider, ILinearSolverSensitivityReport, ILinearSolverReport

The InteriorPointSolver type exposes the following members.

  NameDescription
Public methodInteriorPointSolver()Initializes a new instance of the InteriorPointSolver class.
Public methodInteriorPointSolver(IEqualityComparer<Object>)Initializes a new instance of the InteriorPointSolver class.
Public methodInteriorPointSolver(ISolverEnvironment)Initializes a new instance of the InteriorPointSolver class.
Top

  NameDescription
Public propertyAlgorithmGets the type of algorithm that is used for interior point programming.
Public propertyCoefficientCountGets the number of non-zero coefficients in a linear model. (Inherited from LinearModel.)
Public propertyConeCountGets the number of cones in a model. (Inherited from SecondOrderConicModel.)
Public propertyConesGets the cone collection of a model. (Inherited from SecondOrderConicModel.)
Public propertyDualGets the dual version of the objective.
Public propertyGapGets the gap between primal and dual objective values.
Public propertyGoalCountGets the number of goals in a linear model. (Inherited from LinearModel.)
Public propertyGoalsGets the goal collection of a linear model. (Inherited from LinearModel.)
Public propertyIndicesGets the collection of row and variable indexes for a model. (Inherited from RowVariableModel.)
Public propertyIntegerIndexCountGets the number of integer variables in a model. (Inherited from RowVariableModel.)
Public propertyIsInteriorPointGets a value that indicates whether a solver is an interior point solver.
Public propertyIsMipModelGets a value that indicates whether a model is a mixed integer programming (MIP) model. (Inherited from RowVariableModel.)
Public propertyIsQuadraticModelGets a value that indicates whether a model has a quadratic term on the objective function. (Inherited from LinearModel.)
Public propertyIsSocpModelGets a value that indicates whether a model contains any second order cones. (Inherited from SecondOrderConicModel.)
Public propertyIsSpecialOrderedSetGets a value that indicates whether a linear model is a special ordered set. (Inherited from LinearModel.)
Public propertyIterationCountGets the number of iterations that have occurred.
Public propertyKeyComparerGets the object that is used to compare keys for rows or variables. (Inherited from RowVariableModel.)
Public propertyKeyCountGets the number of keys that are in a model. (Inherited from RowVariableModel.)
Public propertyKeysGets the variable key and row key collection. (Inherited from RowVariableModel.)
Public propertyKktFormGets the form of the Karush-Kuhn-Tucker (KKT) algorithm used.
Public propertyLpResultGets the result of solving the linear programming (LP) relaxation.
Public propertyMipBestBoundGets the best result from the mixed integer programming solver (MIP) solver.
Public propertyMipResultGets a result after considering the integrality conditions.
Public propertyParametersGets or sets the options for solving and reporting events.
Public propertyPrimalGets the primal version of the objective.
Public propertyResultGets the result of a solve attempt.
Public propertyRowCountGets the number of rows in a model. (Inherited from RowVariableModel.)
Public propertyRowIndicesGets the collection of row indexes of a linear model. (Inherited from LinearModel.)
Public propertyRowKeysGets the collection of row keys. (Inherited from RowVariableModel.)
Public propertySolutionQualityGets the quality level of a solution.
Public propertySolvedGoalCountGets the number of goals being solved.
Public propertyStatisticsGets the metrics for the interior point method algorithm solution.
Public propertyVarCountGets the total number of user and slack variables.
Public propertyVariableCountGets the number of variables in a model. (Inherited from RowVariableModel.)
Public propertyVariableIndicesGets the collection of variable indexes. (Inherited from RowVariableModel.)
Public propertyVariableKeysGets the collection of variable keys. (Inherited from RowVariableModel.)
Top

  NameDescription
Public methodAddGoalCreates an ILinearGoal object and adds it to the goal list in a model. (Inherited from LinearModel.)
Public methodAddListenerAttempts to add a tracing listener and returns a value that indicates whether a tracing listener is added.
Public methodAddRow(Object, Int32)Adds a row to a linear model. (Inherited from LinearModel.)
Public methodAddRow(Object, SecondOrderConeType, Int32)Adds a row for a second order cone to a model. (Inherited from SecondOrderConicModel.)
Public methodAddRow(Object, SpecialOrderedSetType, Int32)Returns a value that indicates whether a reference row is added to a model for a special ordered set. (Overrides LinearModel.AddRow(Object, SpecialOrderedSetType, Int32).)
Public methodAddRow(Object, Int32, SecondOrderConeRowType, Int32)Returns a value that indicates whether a conic row is added to a model. (Inherited from SecondOrderConicModel.)
Public methodAddVariableAdds a user variable to a model. (Inherited from RowVariableModel.)
Public methodClearGoalsClears all the goals in a linear model. (Inherited from LinearModel.)
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 methodGetBasicReturns a value that indicates whether a variable is a basic variable. (Inherited from LinearModel.)
Public methodGetBoundsReturns the bounds for a variable. (Inherited from RowVariableModel.)
Public methodGetCoefficient(Int32, Int32)Returns the coefficient of the A matrix in a linear model. (Inherited from LinearModel.)
Public methodGetCoefficient(Int32, Int32, Int32)Returns the coefficient of the Q matrix on the objective row. (Inherited from LinearModel.)
Public methodGetConicRowCountReturns the number of row for the specified cone. (Inherited from SecondOrderConicModel.)
Public methodGetConicRowIndexesReturns the rows for the specified cone. (Inherited from SecondOrderConicModel.)
Public methodGetDualValueReturns the dual value for a row constraint.
Public methodGetGoalFromIndexReturns a goal entry if the row index is associated with a goal. (Inherited from LinearModel.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetIgnoreBoundsReturns a value that indicates whether the bounds of a variable are ignored. (Inherited from RowVariableModel.)
Public methodGetIndexFromKeyReturns the index that is associated with a specified key. (Inherited from RowVariableModel.)
Public methodGetIntegralityReturns a value that indicates whether a variable is an integer variable. (Inherited from RowVariableModel.)
Public methodGetKeyFromIndexReturns the key that is associated with the specified variable index. (Inherited from RowVariableModel.)
Public methodGetPropertyReturns the value of a property. (Overrides RowVariableModel.GetProperty(String, Int32).)
Public methodGetReport(LinearSolverReportType)Generates a sensitivity report.
Public methodGetReport(SolverContext, Solution, SolutionMapping)Generates a report.
Public methodGetRowEntriesReturns the collection of non-zero variable entries. (Inherited from LinearModel.)
Public methodGetRowEntryCountReturns the number of non-zero coefficients for the given row index. (Inherited from LinearModel.)
Public methodGetRowQuadraticEntriesReturns a collection of non-zero variable entries on a quadratic row. (Inherited from LinearModel.)
Public methodGetSolutionValueReturns the objective value of a goal.
Public methodGetSolvedGoalReturns information about a solved goal.
Public methodGetSpecialOrderedSetTypeRowIndexesReturns a list of row indexes for SOS1 or SOS2 types. (Overrides LinearModel.GetSpecialOrderedSetTypeRowIndexes(SpecialOrderedSetType).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueReturns the value that is associated with the specified variable index. (Inherited from RowVariableModel.)
Public methodGetValueStateReturns the value state for a variable. (Inherited from LinearModel.)
Public methodGetVariableEntriesReturns a collection of non-zero column entries. (Inherited from LinearModel.)
Public methodGetVariableEntryCountReturns the number of non-zero coefficients for a given column variable index. (Inherited from LinearModel.)
Protected methodInitModelAllocates data structures for a new model. (Inherited from LinearModel.)
Public methodIsConicRowReturns a value that indicates whether a row is a conic row. (Inherited from SecondOrderConicModel.)
Public methodIsGoal(Int32)Returns a value that indicates whether a row identifier is a goal row. (Inherited from LinearModel.)
Public methodIsGoal(Int32, ILinearGoal)Returns a value that indicates whether a row identifier is a goal row. (Inherited from LinearModel.)
Public methodIsQuadraticVariableReturns a value that indicates whether a variable is in any quadratic row. (Inherited from LinearModel.)
Public methodIsRowReturns a value that indicates whether a variable index corresponds to a row. (Inherited from RowVariableModel.)
Public methodLoadLinearModelLoads the information from one linear model into another model. (Inherited from LinearModel.)
Public methodLoadSecondOrderConicModelLoads information for a second order conic model. (Inherited from SecondOrderConicModel.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPreallocateAllocates data structures for a new linear model. (Inherited from LinearModel.)
Public methodRemoveGoalRemoves a goal row. (Inherited from LinearModel.)
Public methodRemoveListenerRemoves a tracing listener.
Public methodSetBasicSets the basic status for a variable. (Inherited from LinearModel.)
Public methodSetBoundsSets the bounds for a row. (Inherited from RowVariableModel.)
Public methodSetCoefficient(Int32, Int32, Rational)Sets the coefficient of the A matrix in a model. (Inherited from SecondOrderConicModel.)
Public methodSetCoefficient(Int32, Rational, Int32, Int32)Sets the coefficient of the Q matrix on the objective row. (Inherited from LinearModel.)
Public methodSetIgnoreBoundsSpecifies whether the bounds of a variable should be respected or ignored during a solve attempt. (Inherited from RowVariableModel.)
Public methodSetIntegralitySets a value that indicates whether a variable is an integer. (Overrides RowVariableModel.SetIntegrality(Int32, Boolean).)
Public methodSetLowerBoundSets the lower bound of a variable. (Inherited from RowVariableModel.)
Public methodSetPrimaryConicSpecifies a primary variable for a cone. (Inherited from SecondOrderConicModel.)
Public methodSetPropertySets the value of a property. (Overrides RowVariableModel.SetProperty(String, Int32, Object).)
Public methodSetUpperBoundSets the upper bound of a variable. (Inherited from RowVariableModel.)
Public methodSetValueSets the value for the specified variable index. (Inherited from RowVariableModel.)
Public methodShutdownStops a solver instance.
Public methodSolve(InteriorPointSolverParams[])Runs a solver using one thread per solver parameter.
Public methodSolve(ISolverParameters)Runs a solver, using one solver parameter.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetConeFromIndexAttempts to return a second order cone associated with a specified row. (Inherited from SecondOrderConicModel.)
Public methodTryGetIndexFromKeyAttempts to return the variable index that is associated with the specified key. (Inherited from RowVariableModel.)
Top

  NameDescription
Protected fieldm_cvidBasicRepresents the number of variables that are marked as basic. (Inherited from LinearModel.)
Protected fieldm_cvidIntRepresents the number of integer variables. (Inherited from RowVariableModel.)
Protected fieldm_mpkeyvidRepresents the mapping from key to variable index. (Inherited from RowVariableModel.)
Protected fieldm_qpRowVarThe goal variable that has the QP form. (Inherited from LinearModel.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyIInteriorPointStatistics.GapGets the difference between primal and dual objective values.
Explicit interface implemetationPrivate propertyIInteriorPointStatistics.RowCountGets the number of rows in the solver model.
Explicit interface implemetationPrivate methodILinearSolverSensitivityReport.GetObjectiveCoefficientRange(Int32)Returns the coefficient range of the first goal row.
Explicit interface implemetationPrivate methodILinearSolverSensitivityReport.GetObjectiveCoefficientRange(Int32, Int32)Returns the coefficient range of a goal row.
Explicit interface implemetationPrivate methodILinearSolverSensitivityReport.GetVariableRangeReturns the range of a variable.
Top

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