GRBCallback.UseSolution()


GRBCallback.UseSolution()

Once you have imported solution values usingSetSolution, you can optionally callUseSolutionto immediately use these values to try to compute a heuristic solution.

double UseSolution( )

    Return value:

    The objective value for the solution obtained from your solution values (or GRB.INFINITY if no improved solution is found).