Skip to content

Commit

Permalink
ExpCones #192 fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed May 15, 2023
1 parent 2a356f1 commit 130038d
Show file tree
Hide file tree
Showing 2 changed files with 468 additions and 468 deletions.
6 changes: 3 additions & 3 deletions include/mp/flat/constr_general.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ using ComplementarityQuadratic = ComplementarityConstraint<QuadraticExpr>;
/// Quadratic cone
DEF_STATIC_CONSTR_WITH_PRM( QuadraticConeConstraint, VarArray, DblParamArray,
"Quadratic cone p1*x1 >= sqrt((p2*x2)^2 + ...)),"
" with factors p1..pn");
" with factors p1..pn");
/// Rotated quadratic cone
DEF_STATIC_CONSTR_WITH_PRM( RotatedQuadraticConeConstraint, VarArray, DblParamArray,
"Rotated quadratic cone p1*x1*p2*x2 >= sqrt((p3*x3)^2 + ...)),"
" x1, x2 >= 0, with factors p1..pn");
" x1, x2 >= 0, with factors p1..pn");
/// Exponential cone
DEF_STATIC_CONSTR_WITH_PRM( ExponentialConeConstraint, VarArray3, DblParamArray3,
"Exponential cone p1*x1 >= p2*x2*exp(p3*x3 / (p2*x2)),"
" x1, x2 >= 0, with factors p1..p3");
" x1, x2 >= 0, with factors p1..p3");
/// Power cone
DEF_STATIC_CONSTR_WITH_PRM( PowerConeConstraint, VarArray, DblParamArray,
"Power cone with factors ");
Expand Down
Loading

0 comments on commit 130038d

Please sign in to comment.