call_and_output_CVXPY
- compas_tno.solvers.call_and_output_CVXPY(form, problem, solver_convex='CLARABEL', printout=False)
Call and output the loadpath optimisation with CVXPY
- Parameters:
- form::class:: FormDiagram
The form Diagram of the analysis
- problem::class:: Problem
The Problem with relevant matrices and vectors
- solver_convexstr, optional
Solver to use, by default CLARABEL. Options are “CLARABEL”, “MOSEK” or “CVXOPT”. Note: “MOSEK” and “CVXOPT” are not available in the default installation of TNO.
- printoutbool, optional
Whether or not print results, by default False
- Returns:
- output: dict
Dictionary with results.