callback() method in c++
AnsweredHi,
I'm trying to use Callback in C++. I know that I must create a subclass of the Gurobi callback class and then implement a callback() method.
According to the callback_c++.cpp example, it seems that the callback() method is implemented as a protected subclass member. If I define this method as a private or public member, will there be any issues in the process of solving the problem?
Thanks
0
-
Either of these should be OK.
Please let us know if you have any issues.Cheers,
David0
Please sign in to leave a comment.
Comments
1 comment