Export (0) Print
Expand All

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

A solver that uses simple, general-purpose local search strategies.

System.Object
  Microsoft.SolverFoundation.Solvers.HybridLocalSearchModel
    Microsoft.SolverFoundation.Solvers.HybridLocalSearchSolver

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

public class HybridLocalSearchSolver : HybridLocalSearchModel, 
	ITermSolver, IRowVariableSolver, ISolver, ITermModel, IRowVariableModel, 
	IGoalModel, INonlinearSolution, ISolverSolution, ISolverProperties, IReportProvider

The HybridLocalSearchSolver type exposes the following members.

  NameDescription
Public methodHybridLocalSearchSolverInitializes a new instance of the HybridLocalSearchSolver class.
Top

  NameDescription
Protected propertyConstraintsCountSpecifies the number of constraints. (Inherited from HybridLocalSearchModel.)
Protected propertyGoalsCountSpecifies the number of goals. (Inherited from HybridLocalSearchModel.)
Public propertyRandomSeed Sets the random seed that (re)initializes the random number sequence generation. (Inherited from HybridLocalSearchModel.)
Public propertyResultReturns a Non-linear Result.
Public propertyStepSpecifies the current step number of the search when it is running. (Inherited from HybridLocalSearchModel.)
Public propertyViolationIdentifies the violation of the current state. (Inherited from HybridLocalSearchModel.)
Top

  NameDescription
Public methodAddConstant Adds a constant to the model. Constants are considered rows. (Inherited from HybridLocalSearchModel.)
Public methodAddConstraint Specifies that a numerical term is a constraint (Inherited from HybridLocalSearchModel.)
Public methodAddFunction (Inherited from HybridLocalSearchModel.)
Public methodAddGoal Specifies that a numerical term is a goal to minimize. Priorities are determined by the order in which the goals are added (first goals have higher priorities) (Inherited from HybridLocalSearchModel.)
Public methodAddOperation(TermModelOperation, Int32, Int32) Adds an operation row to the model. (Inherited from HybridLocalSearchModel.)
Public methodAddOperation(TermModelOperation, Int32, Int32[]) Adds an operation row to the model. (Inherited from HybridLocalSearchModel.)
Public methodAddOperation(TermModelOperation, Int32, Int32, Int32) Adds an operation row to the model. (Inherited from HybridLocalSearchModel.)
Public methodAddOperation(TermModelOperation, Int32, Int32, Int32, Int32) Adds an operation row to the model. (Inherited from HybridLocalSearchModel.)
Public methodAddVariable(Int32, IEnumerable<Rational>) Adds a variable to the model, with a fixed set of possible values. (Inherited from HybridLocalSearchModel.)
Public methodAddVariable(Object, Int32, IEnumerable<Rational>) Adds a variable to the model, with a fixed set of possible values. (Inherited from HybridLocalSearchModel.)
Public methodAddVariable(Int32, Rational, Rational, Boolean) Adds a variable to the model, with bounds and integrality given at creation time. (Inherited from HybridLocalSearchModel.)
Public methodAddVariable(Object, Int32, Rational, Rational, Boolean) Adds a variable to the model, with bounds and integrality given at creation time. (Inherited from HybridLocalSearchModel.)
Public methodCreateBinaryFunction (Inherited from HybridLocalSearchModel.)
Public methodCreateNaryFunction (Inherited from HybridLocalSearchModel.)
Public methodCreateUnaryFunction (Inherited from HybridLocalSearchModel.)
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 methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetOperand Gets an operand associated with a vid. (Inherited from HybridLocalSearchModel.)
Public methodGetOperandCount Gets the number of operands associated with a vid. (Inherited from HybridLocalSearchModel.)
Public methodGetOperands Gets the operands associated with a vid. (Inherited from HybridLocalSearchModel.)
Public methodGetOperation Gets the operation associated with a vid. (Inherited from HybridLocalSearchModel.)
Public methodGetReportGenerates a report
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsConstant Tests if a vid is a constant (not a variable or operation). (Inherited from HybridLocalSearchModel.)
Public methodIsOperation Tests if a vid is an operation (not a variable or constant). (Inherited from HybridLocalSearchModel.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveConstraint Removes a Boolean term from the set of constraints (Inherited from HybridLocalSearchModel.)
Public methodRequestTermination Requests the end of the search algorithm (Inherited from HybridLocalSearchModel.)
Public methodSolveSolves the model using the given parameter instance.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected fieldgoalListRepresents the goals, or objectives to minimize or maximize (Inherited from HybridLocalSearchModel.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIGoalModel.AddGoalAdds a goal to the collection. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIGoalModel.ClearGoalsClears all the goals from a model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIGoalModel.GetGoalFromIndexReturns a goal entry if the row index is associated with a goal row. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIGoalModel.GoalCountGets a count of the number of goals for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIGoalModel.GoalsGets the goals for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIGoalModel.IsGoal(Int32)Returns a value that specifies whether a row index is a goal row. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIGoalModel.IsGoal(Int32, IGoal)Returns a value that specifies whether a row index is a goal row, and returns the associated goal. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIGoalModel.RemoveGoalRemoves the specified goal. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodINonlinearSolution.GetSolutionValueReturns the objective value of a goal.
Explicit interface implemetationPrivate methodINonlinearSolution.GetSolvedGoalReturns information about a solved goal.
Explicit interface implemetationPrivate methodINonlinearSolution.GetValueReturns the value of the specified variable.
Explicit interface implemetationPrivate propertyINonlinearSolution.SolvedGoalCountGets the number of goals that are being solved.
Explicit interface implemetationPrivate methodIRowVariableModel.AddRowAdds a row to a model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.AddVariableAdds a user variable to a model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.GetBoundsReturns the bounds for a variable. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.GetIgnoreBoundsReturns a value that indicates whether the bounds of a variable are ignored. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.GetIndexFromKey (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.GetIntegralityGets the integrality of the goal identified by the specified index. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.GetKeyFromIndex (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.GetValueReturns the value that is associated with a variable index. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.IndicesGets the indices for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.IntegerIndexCountGets the index count as an integer for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.IsRowReturns a value that indicates whether a variable index is a row. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.KeyComparerGets the value of the key comparer for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.KeyCountGets the count of the number of keys for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.KeysGets the keys for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.RowCountGets the row count for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.RowIndicesGets the row indices for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.RowKeysGets the row keys for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.SetBoundsSets the bounds for a variable. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.SetIgnoreBoundsSpecifies whether the bounds of a variable index should be respected or ignored during a solve process. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.SetIntegralitySpecifies that a variable is an integer variable. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.SetLowerBoundSets the lower bound of a variable. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.SetUpperBoundSets the upper bound of a variable. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.SetValueSets the value for the specified variable index. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodIRowVariableModel.TryGetIndexFromKeyAttempts to return the variable index associated with a key. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.VariableCountGets the variable count for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.VariableIndicesGets the variable indices for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate propertyIRowVariableModel.VariableKeysGets the variable keys for the search model. (Inherited from HybridLocalSearchModel.)
Explicit interface implemetationPrivate methodISolver.ShutdownShuts down a solver instance.
Explicit interface implemetationPrivate methodISolverProperties.GetPropertyReturns the value of a property.
Explicit interface implemetationPrivate methodISolverProperties.SetPropertySets the value of a property.
Explicit interface implemetationPrivate propertyITermSolver.SupportedOperationsGets the operations that are supported by the solver.
Top

The solver can be used for discrete and continuous, linear and non-linear, satisfaction and/or optimization models. This solver is incomplete: it does not guarantee global optimality.

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