Skip to content

API interaction with the back-end #166

Discussion options

You must be logged in to vote

There is an option not to use UniTime at all. It is possible to run the solver by itself -- as a Java program, either called programmatically (from within Java) or from a command line. It takes an XML file (with the course timetabling problem), runs for the given amount of time, and produces a new XML file containing the solution. See github.com/UniTime/cpsolver for more details. Please note that it takes a different XML (see the format here, which can be exported from UniTime).

Back to your question, it is possible to start/stop/etc the solver using the JSON RPC calls and simulating the Solver page with the SolverPageRequest and SolverPageResponse messages. Here is an example:

  1. To load t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MohammedAlmatrafi
Comment options

Answer selected by MohammedAlmatrafi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants