save_geometry_at_iterations
- compas_tno.problems.save_geometry_at_iterations(form, optimiser, force=False)[source]
Save the geometry of the form (and force) during iterations of the optimisation. Works only with SLSQP and IPOPT solvers.
- Parameters
form (
FormDiagram
) – The Form Diagram of the problemoptimiser (
Optimiser
) – The Optimiser with the numerical information about the problemforce (bool, optional) – Whether or not the force diagram coordinates should also be saved, by default False
Notes
- Xforce
Address where the geometry of the structure at each step is saved
Xform.json
- Xforce
Address where the geometry of the force diagram at each step is saves
Xforce.json
.