Class SolutionCallback

    • Method Detail

      • getSolution

        public PointValuePair getSolution()
        Retrieve the best solution found so far.

        Note: the returned solution may not be optimal, e.g. in case the optimizer did reach the iteration limits.

        the best solution found so far by the optimizer, or null if no feasible solution could be found
      • isSolutionOptimal

        public boolean isSolutionOptimal()
        Returns if the found solution is optimal.
        true if the solution is optimal, false otherwise