简体   繁体   中英

Alternative for OptaPlanner (Constrain Solver) in Node.JS

Cheers Community,

I would like to build a lesson planner and am looking for a constrain solver in NodeJS. Currently I have found OptaPlanner as a Java variant.

Does anyone have experience with constrain solvers in NodeJs environment and maybe with timetables?

Current constrains are:

  • Classes
  • rooms
  • subjects
  • Teachers
  • timeslots

the idea behind the constraint solver should be an automatic assignment of subjects/teachers/classes within given timeslots.

Thanks for your help!

As far as I know, there are is no pure JavaScript alternative for OptaPlanner yet. But OptaPlanner works in Kotlin or Java and OptaPy works for Python.

What you might be able to do, is take the quarkus school timetabling quickstart, compile it natively (see readme) to avoid requiring a JDK in production and call that from Node.js?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM