moptipyapps package¶
Applications of Metaheuristic Optimization in Python.
Currently, the following applications are implemented:
binpacking2d
provides methods to solve two-dimensional bin packing instances,dynamic_control
can simulate controlled dynamic systems of differential equations and our goal is to synthesize controllers that can steer such systems into beneficial states,mod:~moptipyapps.tsp offers instances of the well-known Traveling Salesperson Problem (TSP) and some very basic algorithms to tackle it.
The following additional tools are implemented:
tests
offers unit tests to try out optimization algorithms and other instances ofcomponent
on the different problems that are provided above.shared
offers shared constants and tools.
Subpackages¶
- moptipyapps.binpacking2d package
- Subpackages
- moptipyapps.binpacking2d.encodings package
- moptipyapps.binpacking2d.instgen package
- Submodules
- moptipyapps.binpacking2d.instgen.errors module
- moptipyapps.binpacking2d.instgen.errors_and_hardness module
- moptipyapps.binpacking2d.instgen.experiment module
- moptipyapps.binpacking2d.instgen.hardness module
- moptipyapps.binpacking2d.instgen.inst_decoding module
- moptipyapps.binpacking2d.instgen.instance_space module
- moptipyapps.binpacking2d.instgen.problem module
- moptipyapps.binpacking2d.objectives package
- Submodules
- moptipyapps.binpacking2d.objectives.bin_count module
- moptipyapps.binpacking2d.objectives.bin_count_and_empty module
- moptipyapps.binpacking2d.objectives.bin_count_and_last_empty module
- moptipyapps.binpacking2d.objectives.bin_count_and_last_skyline module
- moptipyapps.binpacking2d.objectives.bin_count_and_last_small module
- moptipyapps.binpacking2d.objectives.bin_count_and_lowest_skyline module
- moptipyapps.binpacking2d.objectives.bin_count_and_small module
- Submodules
- moptipyapps.binpacking2d.bks module
ASQAS
A_LARGE
A_MED
A_SMALL
BENG_1_8
BENG_9_10
BRKGA_BPP_2R
BRKGA_BPP_ANB
CLASS_10_100
CLASS_10_20
CLASS_10_40
CLASS_10_60
CLASS_10_80
CLASS_1_100
CLASS_1_20
CLASS_1_40
CLASS_1_60
CLASS_1_80
CLASS_2_100
CLASS_2_20
CLASS_2_40
CLASS_2_60
CLASS_2_80
CLASS_3_100
CLASS_3_20
CLASS_3_40
CLASS_3_60
CLASS_3_80
CLASS_4_100
CLASS_4_20
CLASS_4_40
CLASS_4_60
CLASS_4_80
CLASS_5_100
CLASS_5_20
CLASS_5_40
CLASS_5_60
CLASS_5_80
CLASS_6_100
CLASS_6_20
CLASS_6_40
CLASS_6_60
CLASS_6_80
CLASS_7_100
CLASS_7_20
CLASS_7_40
CLASS_7_60
CLASS_7_80
CLASS_8_100
CLASS_8_20
CLASS_8_40
CLASS_8_60
CLASS_8_80
CLASS_9_100
CLASS_9_20
CLASS_9_40
CLASS_9_60
CLASS_9_80
CLASS_AND_BENG
EALGFI
Element
GRASP_VND
GROUPS_TO_INSTANCES
HHANO_R
HHANO_SR
INSTANCES_TO_GROUPS
INST_GROUP_SORT_KEY()
MXGA
NO_REF
PAC
get_related_work()
make_comparison_table()
make_comparison_table_data()
- moptipyapps.binpacking2d.experiment module
- moptipyapps.binpacking2d.instance module
BIN_HEIGHT
BIN_WIDTH
IDX_HEIGHT
IDX_REPETITION
IDX_WIDTH
INSTANCES_RESOURCE
INTERNAL_SEP
Instance
Instance.bin_height
Instance.bin_width
Instance.from_2dpacklib()
Instance.from_compact_str()
Instance.from_resource()
Instance.get_standard_item_sequence()
Instance.list_resources()
Instance.list_resources_groups()
Instance.log_parameters_to()
Instance.lower_bound_bins
Instance.n_different_items
Instance.n_items
Instance.name
Instance.to_compact_str()
Instance.total_item_area
N_DIFFERENT_ITEMS
N_ITEMS
- moptipyapps.binpacking2d.make_instances module
- moptipyapps.binpacking2d.packing module
- moptipyapps.binpacking2d.packing_result module
- moptipyapps.binpacking2d.packing_space module
- moptipyapps.binpacking2d.packing_statistics module
- moptipyapps.binpacking2d.plot_packing module
- Subpackages
- moptipyapps.dynamic_control package
- Subpackages
- moptipyapps.dynamic_control.controllers package
- Submodules
- moptipyapps.dynamic_control.controllers.ann module
- moptipyapps.dynamic_control.controllers.codegen module
- moptipyapps.dynamic_control.controllers.cubic module
- moptipyapps.dynamic_control.controllers.linear module
- moptipyapps.dynamic_control.controllers.min_ann module
- moptipyapps.dynamic_control.controllers.partially_linear module
- moptipyapps.dynamic_control.controllers.peaks module
- moptipyapps.dynamic_control.controllers.predefined module
- moptipyapps.dynamic_control.controllers.quadratic module
- moptipyapps.dynamic_control.systems package
- moptipyapps.dynamic_control.controllers package
- Submodules
- moptipyapps.dynamic_control.controller module
- moptipyapps.dynamic_control.experiment_raw module
- moptipyapps.dynamic_control.experiment_surrogate module
- moptipyapps.dynamic_control.instance module
- moptipyapps.dynamic_control.model_objective module
- moptipyapps.dynamic_control.objective module
- moptipyapps.dynamic_control.ode module
- moptipyapps.dynamic_control.results_log module
- moptipyapps.dynamic_control.results_plot module
- moptipyapps.dynamic_control.starting_points module
- moptipyapps.dynamic_control.surrogate_optimizer module
SurrogateOptimizer
SurrogateOptimizer.fancy_logs
SurrogateOptimizer.fes_for_training
SurrogateOptimizer.fes_for_warmup
SurrogateOptimizer.fes_per_model_run
SurrogateOptimizer.initialize()
SurrogateOptimizer.log_parameters_to()
SurrogateOptimizer.ms_for_training
SurrogateOptimizer.ms_per_model_run
SurrogateOptimizer.solve()
SurrogateOptimizer.system_model
- moptipyapps.dynamic_control.system module
System
System.control_dims
System.describe_system()
System.describe_system_without_control()
System.equations()
System.gamma
System.log_parameters_to()
System.name
System.plot_examples
System.plot_points()
System.state_dim_mod
System.state_dims
System.state_dims_in_j
System.test_starting_states
System.test_steps
System.test_time
System.training_starting_states
System.training_steps
System.training_time
T
- moptipyapps.dynamic_control.system_model module
- Subpackages
- moptipyapps.order1d package
- moptipyapps.qap package
- moptipyapps.tests package
- Submodules
- moptipyapps.tests.on_binpacking2d module
binpacking_instances_for_tests()
make_packing_invalid()
make_packing_valid()
validate_algorithm_on_1_2dbinpacking()
validate_algorithm_on_2dbinpacking()
validate_objective_on_1_2dbinpacking()
validate_objective_on_2dbinpacking()
validate_signed_permutation_encoding_on_1_2dbinpacking()
validate_signed_permutation_encoding_on_2dbinpacking()
- moptipyapps.tests.on_tsp module
- moptipyapps.tsp package
- moptipyapps.ttp package
- Subpackages
- Submodules
- moptipyapps.ttp.errors module
- moptipyapps.ttp.game_encoding module
- moptipyapps.ttp.game_plan module
- moptipyapps.ttp.game_plan_space module
- moptipyapps.ttp.instance module
Instance
Instance.away_streak_max
Instance.away_streak_min
Instance.from_file()
Instance.from_resource()
Instance.game_plan_dtype
Instance.get_optimal_plan_length_bounds()
Instance.home_streak_max
Instance.home_streak_min
Instance.list_resources()
Instance.log_parameters_to()
Instance.rounds
Instance.separation_max
Instance.separation_min
Instance.teams
- moptipyapps.ttp.plan_length module
Submodules¶
moptipyapps.version module¶
An internal file with the version of the moptipyapps package.