Solver Class
The solver solves a Problem instance and returns a new Solution.
Definition
Namespace: SRS.ScheduleSolver.Solvers
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public class SolverVB
Public Class SolverC++
public ref class SolverF#
type Solver = class end- Inheritance
- Object Solver
Constructors
| Solver | Initialises a new instance of the Solver class. |
Properties
| MaximumSolveTime | A maximum solving time for the solver. After this time the solver will finish and return the best solution found so far. |
| MaxIterations | Set to zero for no limit (just used for testing). |
| RandomSeed | A seed for the solver's random number generator. |
| Status | Indicates the status of the last solving attempt. |
| Stop | If this is set to true while the Solve method is executing then the solver will stop and return the best solution found so far. |
| TotalEvaluations | Total number of solution evaluations. |
Methods
| Equals | (Inherited from Object) |
| Finalize | (Inherited from Object) |
| GetHashCode | (Inherited from Object) |
| GetType | (Inherited from Object) |
| MemberwiseClone | (Inherited from Object) |
| Solve | Solves the problem using the solution given as an intial solution as the starting point for the solver. Using a good intial solution can reduce solving time and result in better solutions. |
| ToString | (Inherited from Object) |
Events
| SolverStatusUpdated | Occurs when the the solver has new information to feedback to a caller. |