gctl_optimization/README.md

17 lines
403 B
Markdown
Raw Normal View History

2024-09-10 20:04:47 +08:00
## lcg_solver 共轭梯度求解器
### 求解器参数设置
#### 1. 从toml文件读取参数
2024-09-10 20:03:23 +08:00
2024-09-10 20:04:47 +08:00
用户可以从toml文件中读取并设置求解器参数。所有的参数都定义在名为lcg的顶级表格下可设置的参数及类型如下所示
```toml
[lcg]
max_iterations=<int>
epsilon=<float>
abs_diff=0|1
restart_epsilon=<float>
step=<float>
sigma=<float>
beta=<float>
maxi_m=<int>
```