simopt.plots.feasibility_progress ================================= .. py:module:: simopt.plots.feasibility_progress .. autoapi-nested-parse:: Feasibility progress plot. Module Contents --------------- .. py:function:: plot_feasibility_progress(experiments: list[list[simopt.experiment.ProblemSolver]], plot_type: simopt.plot_type.PlotType = PlotType.ALL_FEASIBILITY_PROGRESS, score_type: Literal['inf_norm', 'norm'] = 'inf_norm', norm_degree: int = 1, two_sided: bool = True, plot_zero: bool = True, all_in_one: bool = True, n_bootstraps: int = 100, conf_level: float = 0.95, plot_conf_ints: bool = True, print_max_hw: bool = True, beta: float = 0.5, solver_set_name: str = 'SOLVER_SET', plot_title: str | None = None, legend_loc: str | None = None, ext: str = '.png', save_as_pickle: bool = False) -> list[str] Plot feasibility over solver progress. :param experiments: Problem-solver pairs used to produce plots. :type experiments: list [list [``experiment_base.ProblemSolver``]] :param plot_type: String indicating which type of plot to produce: "all" : show all macroreps "mean" : plot mean of all macroreps "quantile" : plot quantile of all macroreps :type plot_type: str, default = 'scatter' :param score_type: "inf_norm" : use infinite norm of lhs of violated constraints to calculate feasiblity score "norm" : use "norm_degree" to specify degree of norm of lhs of violated constriants :type score_type: str, default = "inf_norm" :param two_sided: Two-sided or one-sided feasiblity score. Two-sided only supported for plot_type = "all" :type two_sided: bool, default = "True" :param plot_zero: Plot a dashed red line a feasiblity score = 0 :type plot_zero: bool, default = True :param norm_degree: if not using inf_norm, specifies degree of norm taken of lhs of violated constraints for feasibility score :type norm_degree: int, default = 1 :param all_in_one: plot all solvers on same plot :type all_in_one: bool, default = True :param n_bootstraps: number of bootsrap replications for CI construction :type n_bootstraps: int, default = 100 :param conf_level: confidence level of created CI :type conf_level: float, default = 0.95 :param plot_conf_ints: plot CI's for each maroreplication :type plot_conf_ints: bool, default = True :param print_max_hw: report max halfwidth for CI's' :type print_max_hw: bool, default = True :param beta: quantile to computue must be between 0 and 1 :type beta: float, default = .5 :param solver_set_name: Override solver names in plot, only applies if all_in_one = True :type solver_set_name: str, default = "SOLVER_SET" :param plot_title: Optional title to override the one that is autmatically generated :type plot_title: str, optional :param legend_loc: specificies location of legend :type legend_loc: str, default="best" :param ext: Extension to add to image file path to change file type :type ext: str, default = '.png' :param save_as_pickle: True if plot should be saved to pickle file, False otherwise. :type save_as_pickle: bool, default = False :param Returns: :param -------: :param file_list: List compiling path names for plots produced. :type file_list: list [str] :param Raises: :param ------: :param TypeError: :param ValueError: