decogo.problem.decomposed_problem
This module manages block model, approximation data and all problems.
Classes
|
This class contains all sub-problems, master problems and approximation data and methods for manipulating them (add, update etc.) |
- class decogo.problem.decomposed_problem.DecomposedProblem(block_model, sub_problems, original_problem)[source]
This class contains all sub-problems, master problems and approximation data and methods for manipulating them (add, update etc.)
- Parameters
block_model (BlockModel) – Block model
sub_problems (list) – Contains all necessary sub-problems
original_problem (subclass of OriginalProblemBase) – Contains original problem
- add_inner_point(block_id, point, min_inner_point_dist=None)[source]
Adds an inner point to the list of points and updates corresponding master problems, see
problem.approx_data.ApproxData.add_inner_point()
- get_min_inner_point(block_id, direction)[source]
Gets inner point with respect to the minimum value computed with some direction in original space, see
problem.approx_data.ApproxData.get_min_inner_point()
- get_min_column(block_id, direction)[source]
Gets column with respect to the minimum value computed with some direction in image space, see
problem.approx_data.ApproxData.get_min_column()