Back to home page

EIC code displayed by LXR

 
 

    


Warning, /AID2E-framework/examples/dtlz2/configurations/dtlz2_objective_collection.yml is written in an unsupported language. File is not indexed.

0001 # One script evaluation returns both metrics through a combined objective plan.
0002 
0003 problem:
0004   name: "DTLZ2 Objective Collection"
0005   problem_type: "DTLZ2"
0006   output_location: "./output/objective_collection"
0007   work_location: "./work/objective_collection"
0008 
0009   design_parameters_file: "../dtlz2_design.params"
0010 
0011   objectives:
0012     - name: "f1"
0013       direction: "minimize"
0014     - name: "f2"
0015       direction: "minimize"
0016 
0017 optimizer:
0018   name: "ax"
0019   type: "bayesian"
0020   parameters:
0021     initialization_strategy: "sobol"
0022     generator: "BOTORCH_MODULAR"
0023     n_initial_samples: 20
0024     n_iterations: 100
0025     batch_size: 4
0026     seed: 42
0027 
0028 scheduler:
0029   runner_type: "JobLibRunner"
0030   parameters:
0031     n_jobs: 4
0032     backend: "threading"
0033 
0034 workflows:
0035   workflows:
0036     - name: "dtlz2_collection"
0037       combined_objectives:
0038         - name: "dtlz2_metrics"
0039           objective_plan:
0040             steps:
0041               stages:
0042                 - name: "evaluate"
0043                   script:
0044                     path: "../dtlz2_evaluator.py"
0045                     output_file: "objectives.json"
0046                     timeout_sec: 300
0047                   produces_objective: true
0048           metrics:
0049             - name: "f1"
0050               direction: "minimize"
0051               metric_key: "f1"
0052             - name: "f2"
0053               direction: "minimize"
0054               metric_key: "f2"