C# code examples showing how to use various features of the VRSolver API. All the code examples are also available for download here.
Examples | |
CreateProblemExample.cs | Shows how to create and solve a very small problem. |
LoadJsonExample.cs | Shows how to load a Problem from a JSON data file. |
LoadSolutionExample.cs | Shows how to load an existing Solution and pass an initial Solution to the Solver to start solving from.. |
WriteSolutionExample.cs | Shows how to get detailed information about each Resource's route, such as arrival times, departure times, idle time, load constraints etc. |
SolverCallbackExample.cs | Shows how to get information about the best solution found so far from the Solver as it is running. It also shows how to manually stop the Solver early. |
ManualAssignExample.cs | Shows how to manually assign/unassign Jobs to/from Resources and get information on resulting violations in the Solution. |
LoadConstraintExample.cs | Shows how to use the Job and Resource Load/Capacity constraints. |