NetworkFWConfig¶
- class paminco.optim.fw_net.NetworkFWConfig(**kwargs)[source]¶
Options for Network Frank-Wolfe optimizer.
Extends FWConfig with
subproblem_method
.- Parameters
- printbool, default=False
Whether to print iteration summary at the end of each iteration.
- epsilonfloat, default=1e-3
Convergence threshold. FW converges if
(self.funval - self.blb) / self.funval < epsilon
.- modeFWMode, int, or str, default=FWMode.PARTAN
- max_iterint, default=2000
Maximum number of iterations.
- lbfloat, default=0
Lower bound of objective function. If funval equals this bound, optimal solution is assumed to be found.
- subproblem_methodSubproblemMethod, int, or str, default=SubproblemMethod.AUTO
Specifies which method should be used to solve subproblem.