ReadOnlyCollection<int> Solve | ( | IProblem< T > | problem | ) |
Solves a defined IProblem<T> and returns a Pareto optimal solution which does not violate the set Epsilons (constraints).
If there are no solutions which satisfy the constraints, the solver still picks the solution which is closest to the constraints.
problem | The problem to be solved. |
NullReferenceException | If the given problem is null . |
IndexOutOfRangeException | If the number of Epsilons is less than the number of objectives in the given problem . |
Implements ISolver< T >.