ISolverStatusReceiverMessageFromSolver Method |
The Solver will intermittently call this method
via its SolverStatusReceiver property.
Namespace:
VRSolver
Assembly:
VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntaxvoid MessageFromSolver(
string message,
Solution bestSolution,
Solution currentSolution
)
Sub MessageFromSolver (
message As String,
bestSolution As Solution,
currentSolution As Solution
)
void MessageFromSolver(
String^ message,
Solution^ bestSolution,
Solution^ currentSolution
)
abstract MessageFromSolver :
message : string *
bestSolution : Solution *
currentSolution : Solution -> unit
Parameters
- message
- Type: SystemString
A message containing information about the solver's status
(See VRSolverDesktop for an example). - bestSolution
- Type: VRSolverSolution
The best known solution so far. - currentSolution
- Type: VRSolverSolution
The solution in the solver's current iteration.
Remarks
It is recommended to keep this method fast (or run it on another thread) because the
solver will be waiting while this method is executing.
See Also