get_worst_discrete_separation_solution

(function from pyomo.contrib.pyros.separation_problem_methods)

pyomo.contrib.pyros.separation_problem_methods.get_worst_discrete_separation_solution(ss_ineq_con, config, ss_ineq_cons_to_evaluate, discrete_solve_results)[source]

Determine separation solution (and therefore worst-case uncertain parameter realization) with maximum violation of specified second-stage inequality constraint.

Parameters:
  • ss_ineq_con (Constraint) – Second-stage inequality constraint of interest.

  • config (ConfigDict) – User-specified PyROS solver settings.

  • ss_ineq_cons_to_evaluate (list of Constraint) – Second-stage inequality constraints for which to report violations by separation solution.

  • discrete_solve_results (DiscreteSeparationSolveCallResults) – Separation problem solutions corresponding to the uncertain parameter scenarios listed in config.uncertainty_set.scenarios.

Returns:

Solver call result for second-stage inequality constraint of interest.

Return type:

SeparationSolveCallResult