CLIENT 0.4.3PYTHON 3.8+
Related-task warm-starting
Carry useful state across a stream of nearby problems.
The configuration is part of the loop state. Do not throw it away when the next target, frame, or instance is related to the last one.
Warm starts are useful for tracking, repeated response matching, related-target control, and drift recovery.
When tasks are unrelated, reset explicitly. Retention is valuable because it is honest state, not because every prior configuration deserves to survive.
PYTHON
opt = SWCOptimizer(key, n=len(x0), mode="regulation", target=target)
x = opt.start(x0)
for _ in range(rounds):
x = opt.step(measure(x), target=target)
opt.end()Need the answer on your plant?
Start evaluation Run the envelope, then race the runtime and your incumbent under the same measured budget.