Reputation: 101
I am trying to use optaplanner rostering solution as part of my app but I don't know java so I'm trying to use IKVM to convert classes to dlls and call their methods from my c# application but there are so many files and classes and I don't even know where to start from? which classes/dlls I need to get rostering work? what methods I should call to start rosting app? has anybody successfully done that before managed to use their java code from c# application? thanks heaps!
Upvotes: 1
Views: 585
Reputation: 81
Before you dive into the complexities, try looking at the KIE Server, which allows you to run OptaPlanner projects outside of your app and communicate with them using REST API the server exposes.
A typical workflow would look like the following:
See OptaPlanner REST API documentation for more details. KIE Server Integration chapter of the OptaPlanner Workbench quickstart provides an example of optimizing a CloudBalancing dataset.
Upvotes: 3