Sets the solution number that must be returned.
void set_solutionlimit(lprec *lp, int limit);
set_solutionlimit has no return value.
The solution number that must be returned. This value gives the number of the solution that must be returned.
This function is only valid if there are integer, semi-continious or SOS variables in the model so that the branch-and-bound algoritm is used. If there are more solutions with the same objective value, then this number specifies which solution must be returned. This can be used to retrieve all possible solutions. Start with 1 till get_solutioncount