Assign lessons to timeslots and rooms to produce a better schedule for teachers and students.
Git clone the optaplanner-quickstarts repo and navigate to this directory:
$ git clone https://github.com/kiegroup/optaplanner-quickstarts.git
...
$ cd optaplanner-quickstarts/technology/java-spring-boot
Start the application with Maven:
$ mvn spring-boot:run
or with Gradle:
$ gradle bootRun
Visit http://localhost:8080 in your browser.
Click on the Solve button.
When you’re ready to deploy the application, package the project to run as a conventional jar file.
Build it with Maven:
$ mvn package
or with Gradle:
$ gradle clean build
Run the Maven output:
$ java -jar target/optaplanner-spring-boot-school-timetabling-quickstart-1.0-SNAPSHOT.jar
or the Gradle output:
$ java -jar build/libs/optaplanner-spring-boot-school-timetabling-quickstart-1.0-SNAPSHOT.jar
Note
|
To run it on port 8081 instead, add |
Visit http://localhost:8080 in your browser.
Click on the Solve button.
Visit www.optaplanner.org.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。