Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative to drools-planner/optaplanner in c++/c#?

is there an comparable alternative for optaplanner/drools planner in C++ or C#? I only found a very old C# portation of 2007. Or how do you solve NP-hard optimization problems in C++/C#?

like image 635
mchlfchr Avatar asked Oct 03 '22 04:10

mchlfchr


1 Answers

On the OptaPlanner mailing list, people have asked about using OptaPlanner from .NET before.

If you're interested in pursuing that direction (and it fits within your requirements), here were some of the idea's:

  • In Java, expose an OptaPlanner implementation as a REST service (with RestEasy and/or Camel). Map the domain objects to XML with JAXB (or XStream). Then use a C# client to contact that REST service.
  • From C#, call a command that starts a java app which reads an XML file as input and writes one as output. Again, use JAXB (or XStream) to serialize that XML.
  • Directly call Java from C# using something like IKVM.
like image 120
Geoffrey De Smet Avatar answered Oct 07 '22 17:10

Geoffrey De Smet