0

I found this on choco-solver documentation but i do not know how use it with provided choco-solver sample program in order to profile.

NB: I already install cpprofiller in my machine and launch it. So it start a tcp server on port 6565.

Need help please.

Genereux
  • 35
  • 5

1 Answers1

0

First, make sure your code looks like:

try (CPProfiler profiler = new CPProfiler(s1.getSolver(), true)) {
   solver.findSolution();
}

Then, you should start CPProfiler first and then run run Java program. Once you go back to the CPProfiler interface, you should see the search tree being updated.

cprudhom
  • 111
  • 4