Skip to main content
Surrogate Optimizer

This optimizer is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Source
ProtoProtoevo-design/proto-language
View source
Optimizer contributors
Surrogate-assisted optimizer that limits real constraint evaluations per round.

API Reference

ConfigSurrogateOptimizerConfig Source
Configuration object for SurrogateOptimizer.
integer
required
Propose-predict-score rounds; each scores up to evaluations_per_round candidates.
integer
default:"100"
Candidates proposed by the generators each round and ranked by the surrogate.
integer
default:"10"
Maximum new candidates scored with the real constraints each round; must be <= candidates.
integer
Number of best sequences kept by real energy. Overrides program count.
number
default:"1.0"
Weight on surrogate std in the lower confidence bound mean - beta * std.
boolean
default:"False"
Keep one copy of each candidate (all segments compared) in the results; may return fewer.
Mmseqs2ClusteringConfig
MMseqs2 clustering; results keep the best of each cluster first. None disables it.
integer
Random seed for reproducible optimization, generator, and constraint tool streams.
integer
default:"1"
Save history and log progress every N steps. Step 0 and final step always saved.
boolean
default:"False"
Save granular per-proposal results (accept/reject) in history snapshots.
boolean
default:"False"
Emit per-step debug information about proposals, scores, and acceptance through the logger.
integer
With a checkpoint_dir, checkpoint the running stage every N iterations. None: stage ends only.
integer
Stop after N iterations in a row without improving the best energy (first sets it). None disables.
number
default:"0.0"
Minimum decrease of the best energy that counts as improvement for plateau_patience.

Usage

python

Metadata