-1

I am doing a project which requires to use optaplanner for constraint solving and optimization. Can anyone tell me as to how one can get started? I have read the documentation on the optaplanner website but they are not really helpful. I need proper steps as to how one can do the setup(preferable if anyone has done it in Jhipster-Ionic) and how one needs to proceed to solve the vrp problem. There is also optaweb vehicle-routing but how does one use it?

I am able to run the optaplanner-examples on my windows system. Apart from that I have no clue as to how one should proceed.

  • Why jhipster tag? – Gaël Marziou Mar 30 '23 at 19:58
  • Actually I am developing my project in Jhipster-Ionic that is why used the tag. – Somnath Pratik Mar 31 '23 at 06:09
  • 1
    IMHO the OptaPlanner is having a nice and comprehensive documentation. Like @Radovan Synek mention below the the OptaPlanner can be integrated with multiples frameworks. If you want to use it with JHipster I will say to get started with the SpringBoot integration https://www.optaplanner.org/docs/optaplanner/latest/quickstart/spring-boot/spring-boot-quickstart.html – duderoot Mar 31 '23 at 07:31

1 Answers1

0

Please see the Quickstarts chapter in the documentation, which describes integration with both Quarkus and Spring Boot, as well as running OptaPlanner in a standard Java program without any frameworks.

The closest example of the VRP integration into a (Quarkus-based) web application is the vehicle routing quickstart.

Please note that the optaweb-vehicle-routing is no longer maintained.

Radovan Synek
  • 954
  • 6
  • 11
  • I ran the quickstarts file. When I launched the vehicle routing and clicked on solve it gives the error: "Start solving failed (403: CORS Rejected - Invalid origin)." But a few months back when I had tried to run and solve it did not give this error. Any idea as to why this is happening? – Somnath Pratik Apr 01 '23 at 12:57
  • I tried running the quickstart both in the Quarkus dev mode and as a packaged application and haven't seen any issues. Would you kindly share some steps to reproduce the problem? – Radovan Synek Apr 03 '23 at 07:03