问题与运行
优化过程
未开始
当前最优目标
--
峰值温度
--
压降
--
最优设计
--最近评估
| # | 目标 | 温度 | 压降 |
|---|
Python 调用片段:直连 BOQA solve endpoint
payload = {
"algorithm": "cma_es",
"problem": "tuning",
"engine": "cpu",
"params": {"ranges": ranges},
"variables": {
item["name"]: {"type": "continuous", "bounds": [item["min"], item["max"]]}
for item in ranges
},
"objective": "minimize the black-box engineering objective",
"objective_model": {"problem": "tuning", "ranges": ranges},
"optimizer": {"engine": "cpu", "max_evals": 36},
}
result = requests.post(
"https://boqa-solver-hs6pkacmga-uc.a.run.app/solve",
headers={"X-API-Key": QUBO_API_KEY},
json=payload,
timeout=60,
).json()