Click or drag to resize

Solver Class

The solver solves a Problem instance and returns a new Solution.
Inheritance Hierarchy
SystemObject
  VRSolverSolver

Namespace:  VRSolver
Assembly:  VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntax
public class Solver

The Solver type exposes the following members.

Constructors
  NameDescription
Public methodSolver
Initialises a new instance of the Solver class.
Top
Properties
  NameDescription
Public propertyMaximumSolveTime
A maximum solving time for the solver. After this time the solver will finish and return the best solution found so far.
Public propertyRandomSeed
A seed for the solver's random number generator.
Public propertySolverStatusReceiver

It is recommended to instead use the SolverStatusUpdated event to receive feedback from the solver as it is solving.

Receives solving status information from the solver while it is running.

Public propertyStop
Set as true while the solver is running to stop the solver and return the best known solution.
Public propertyTotalSolutionsGenerated
Total number of solution evaluations.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSolve(Problem)
Solves the problem and returns the best known solution.
Public methodSolve(Solution)
Solves the problem with an intial solution provided. Providing a good intial solution can reduce solving time and produce better solutions.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventSolverStatusUpdated
Occurs when the the solver has new information to feedback to a caller.
Top
See Also

www.routingautomation.com | support