|
QDpy
|
Discover and connect locally efficient sets for two differentiable costs. More...
Public Member Functions | |
| run (self, evaluate, starts, budget) | |
| Explore from caller-supplied starting points with a strict shared budget. | |
Discover and connect locally efficient sets for two differentiable costs.
Use joint descent, then trace each discovered set in both objective directions.
A callback supplies both objective values and their analytic Jacobian
at each evaluated point. MOLE corrects secant predictions with local
multi-objective descent and queues corrected points when continuation
crosses into another basin. All calls share one evaluation budget.
:param bounds: Sequence of finite increasing (lower, upper) pairs, one per coordinate.
:param step_size: Maximum spatial step for descent and tracing. Defaults
to one hundredth of the decision box diagonal.
:param min_step: Smallest continuation and backtracking step. Defaults
to one thousandth of step_size.
:param gradient_tolerance: Joint-gradient norm considered stationary.
:param max_descent_steps: Maximum accepted descent steps per correction.
| qdpy.algorithms.mole.MOLE.run | ( | self, | |
| evaluate, | |||
| starts, | |||
| budget ) |
Explore from caller-supplied starting points with a strict shared budget.
Return approximate local curves from a bounded continuous problem. evaluate receives a copy of a one-dimensional NumPy genome and returns (two costs, a 2-by-dimension Jacobian). Both costs are minimized. A run starts with empty traces. The result includes points already retained when a correction runs out of evaluations.