simopt.directory

Provide dynamically discovered dictionary directories.

Lists solvers, problems, and models found in the SimOpt package.

Module Contents

simopt.directory.load_models_and_problems() tuple[dict[str, type[simopt.base.Model]], dict[str, type[simopt.base.Problem]]]

Dynamically load models and problems from simopt.models.

simopt.directory.load_solvers() dict[str, type[simopt.base.Solver]]

Dynamically load solvers from simopt.solvers.

simopt.directory.generate_unabbreviated_mapping(class_dict: dict[str, type], include_compatibility: bool = False) dict[str, type]

Generate dictionary with full names (and compatibility for solvers/problems).

simopt.directory.solver_directory
simopt.directory.solver_unabbreviated_directory
simopt.directory.problem_unabbreviated_directory
simopt.directory.model_unabbreviated_directory