Export (0) Print
Expand All

ILinearSolver Interface

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 a solver for a linear programming problem.

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

public interface ILinearSolver : ISolver, 
	ILinearModel

The ILinearSolver type exposes the following members.

  NameDescription
Public propertyCoefficientCountGets the number of nonzero coefficients in a linear model. (Inherited from ILinearModel.)
Public propertyGoalCountGets the number of goals in a linear model. (Inherited from ILinearModel.)
Public propertyGoalsGets the goal collection of a linear model. (Inherited from ILinearModel.)
Public propertyIndicesGets the variable index collection of a linear model, inclusive of rows. (Inherited from ILinearModel.)
Public propertyIntegerIndexCountGets the number of integer variables in a linear model. (Inherited from ILinearModel.)
Public propertyIsQuadraticModelGets a value that indicates whether a model has a quadratic term on the objective function. (Inherited from ILinearModel.)
Public propertyIsSpecialOrderedSetGets a value that indicates whether a linear model is a special ordered set. (Inherited from ILinearModel.)
Public propertyKeyComparerGets the key that is used to compare rows or variables. (Inherited from ILinearModel.)
Public propertyKeyCountGets the number of keys in a linear model, inclusive of rows and variables. (Inherited from ILinearModel.)
Public propertyKeysGets the variable and row key collection of a linear model. (Inherited from ILinearModel.)
Public propertyResultGets the result of a solve attempt.
Public propertyRowCountGets the number of rows in a linear model. (Inherited from ILinearModel.)
Public propertyRowIndicesGets the collection of row indexes for a linear model. (Inherited from ILinearModel.)
Public propertyRowKeysGets the collection of row keys for a linear model. (Inherited from ILinearModel.)
Public propertyVariableCountGets the number of variables in a linear model. (Inherited from ILinearModel.)
Public propertyVariableIndicesGets the collection of variable indexes for a linear model. (Inherited from ILinearModel.)
Public propertyVariableKeysGets the collection of variable keys for linear model. (Inherited from ILinearModel.)
Top

  NameDescription
Public methodAddGoalCreates an ILinearGoal object and adds it to the goal list in a model. (Inherited from ILinearModel.)
Public methodAddRow(Object, Int32)Attempts to add a row to the models and returns a value that indicates whether a row is added to a model. (Inherited from ILinearModel.)
Public methodAddRow(Object, SpecialOrderedSetType, Int32)Attempts to add a row to the model and returns a value that indicates whether a reference row for a special ordered set is added to a model. (Inherited from ILinearModel.)
Public methodAddVariableReturns a value that indicates whether a user variable is added to a model. (Inherited from ILinearModel.)
Public methodClearGoalsClears all the goals in a model. (Inherited from ILinearModel.)
Public methodGetBasicReturns a value that indicates whether a variable is a basic variable. (Inherited from ILinearModel.)
Public methodGetBoundsReturns the bounds for a variable. (Inherited from ILinearModel.)
Public methodGetCoefficient(Int32, Int32)Returns the coefficient of the A matrix in a linear model. (Inherited from ILinearModel.)
Public methodGetCoefficient(Int32, Int32, Int32)Returns the coefficient of the Q matrix on the objective row. (Inherited from ILinearModel.)
Public methodGetGoalFromIndexReturns the goal entry if the row identifier is associated with a goal. (Inherited from ILinearModel.)
Public methodGetIgnoreBoundsReturns a value that indicates whether the bounds of a variable are ignored. (Inherited from ILinearModel.)
Public methodGetIndexFromKeyReturns an index that corresponds to the specified key. (Inherited from ILinearModel.)
Public methodGetIntegralityReturns a value that indicates whether a variable is an integer variable. (Inherited from ILinearModel.)
Public methodGetKeyFromIndexReturns the key that is associated with a variable index. (Inherited from ILinearModel.)
Public methodGetReportReturns the sensitivity report for a linear programming solver.
Public methodGetRowEntriesReturns the collection of nonzero variable entries. (Inherited from ILinearModel.)
Public methodGetRowEntryCountReturns the number of nonzero coefficients for the specified row index. (Inherited from ILinearModel.)
Public methodGetRowQuadraticEntriesReturns a collection of nonzero variable entries on a quadratic row. (Inherited from ILinearModel.)
Public methodGetSpecialOrderedSetTypeRowIndexesReturns a list of rows for a special ordered set. (Inherited from ILinearModel.)
Public methodGetValueReturns the value that is associated with a variable index. (Inherited from ILinearModel.)
Public methodGetValueStateGets the value state for the variable. (Inherited from ILinearModel.)
Public methodGetVariableEntriesGets a collection of non-zero column entries for the specified column variable index. (Inherited from ILinearModel.)
Public methodGetVariableEntryCountReturns the number of nonzero coefficients for the specified column variable index. (Inherited from ILinearModel.)
Public methodIsGoal(Int32)Returns a value that indicates whether a row identifier is associated with a goal row. (Inherited from ILinearModel.)
Public methodIsGoal(Int32, ILinearGoal)Returns a value that indicates whether a row identifier is associated with a goal row. (Inherited from ILinearModel.)
Public methodIsQuadraticVariableReturns a value that indicates whether a variable is in any quadratic row. (Inherited from ILinearModel.)
Public methodIsRowReturns a value that indicates whether a variable index is associated with a row. (Inherited from ILinearModel.)
Public methodRemoveGoalAttempts to remove a goal row and returns a value that indicates whether the row is removed successfully. (Inherited from ILinearModel.)
Public methodSetBasicSets the basic status for a variable. (Inherited from ILinearModel.)
Public methodSetBoundsSets the bounds for a variable. (Inherited from ILinearModel.)
Public methodSetCoefficient(Int32, Int32, Rational)Sets the coefficient of the A matrix in a linear model. (Inherited from ILinearModel.)
Public methodSetCoefficient(Int32, Rational, Int32, Int32)Sets the coefficient of the Q matrix on the objective row. (Inherited from ILinearModel.)
Public methodSetIgnoreBoundsSets a value that specifies whether to ignore or respect the bounds of a variable during a solve process. (Inherited from ILinearModel.)
Public methodSetIntegralitySets a value that indicates whether a variable is an integer. (Inherited from ILinearModel.)
Public methodSetLowerBoundSets the lower bound of a variable. (Inherited from ILinearModel.)
Public methodSetUpperBoundSets the upper bound of a variable. (Inherited from ILinearModel.)
Public methodSetValueSets the value of a linear model. (Inherited from ILinearModel.)
Public methodShutdownShuts down a solver instance. (Inherited from ISolver.)
Public methodSolveSolves a model by using the parameter instance.
Public methodTryGetIndexFromKeyReturns a value that indicates whether a variable index exists for the specified key. (Inherited from ILinearModel.)
Top
Show:
© 2014 Microsoft