2
$\begingroup$

By reading the CVX users' guide, I frequently came across with the term "atom library", which I suppose to be a set of functions that one must use to construct mathematical expressions on solvers. But this definition is not clear to me, let alone how the atom library relates with the DCP ruleset.

$\endgroup$

1 Answer 1

5
$\begingroup$

Adding new functions to the CVX atom library just means adding new functions which can accept CVX variables and expressions as input, as described in the section Adding new functions to the atom library in the CVX Users' Guide, thereby expanding CVX's capability.

For instance, CVX has log_sum_exp. You could add a log_sum_invfunction to the atom library by implementing the formulation for Log-sum-inv in section 5.2.7 of the Mosek Modeling Cookbook.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.