objectives
- compas_cra.equilibrium.objectives(solver, weights=(1.0, 1.0, 1000000.0, 1.0))
Objective functions for pyomo.
- Parameters:
- solverstr
cra: CRA objective, \(W_{compression} * ||f_n||_2^2 + W_{\alpha} * ||\alpha||_2^2\)
cra_penalty: CRA penalty objective, \(W_{compression} * ||{f_n}^+||_2^2 + W_{tension} * ||{f_n}^-||_2^2 + W_{\alpha} * ||\alpha||_2^2\)
rbe: RBE objective, \(W_{compression} * ||{f_n}^+||_2^2 + W_{tension} * ||{f_n}^-||_2^2 + W_{friction} * ||{f_u}||_2^2 + W_{friction} * ||{f_v}||_2^2\)
- weightstuple, optional
weighting factors, \((W_{\alpha}, W_{compression}, W_{tension}, W_{friction})\)
- Returns:
- Callable
objective function for pyomo
Notes
dsodijsio jdois jois