Function GMP::Solution::Count(GMP)

GMP::Solution::Count

The function GMP::Solution::Count returns the number of non-empty solutions in the solution repository of a generated mathematical program.

GMP::Solution::Count(
     GMP             ! (input) a generated mathematical program
     )

Arguments

Return Value

The number of non-empty solutions stored in the solution repository.

Note

In order to make the solution repository flexible, it may contain both feasible and infeasible solutions; any solution algorithm, or hybrid combinations thereof, may add or remove solutions.