3
votes
gmsh python api ignores quad mesh option
Based on the comment from Biswajit Banerjee (above) I determined that I was missing mesh recombine option:
gmsh.option.setNumber("Mesh.RecombineAll", 1)
...
3
votes
How to ensure the numeric value is always positive in Optimization Python?
$
\def\bbR#1{{\mathbb R}^{#1}}
\def\a{\alpha}\def\b{\beta}\def\l{\lambda}
\def\o{{\tt1}}\def\p{\partial}
\def\LR#1{\left(#1\right)}
\def\diag#1{\operatorname{diag}\LR{#1}}
\def\Diag#1{\operatorname{...
1
vote
Accepted
What algorithm does CVXPY actually use to solve semidefinite programs with the constraints of the form $\sum\limits_i E_iXE_i^T \succ B$?
Cvxpy cannot solve SDPs by it itself. It feeds the problem into an optimizer such as Mosek. Therefore, you should consult the documentation of the optimizer you are using.
Btw it is trivial to convert ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
python × 808scipy × 135
numpy × 107
numerics × 76
ode × 71
computational-physics × 65
optimization × 63
finite-difference × 53
linear-algebra × 47
pde × 47
matlab × 32
matrix × 28
differential-equations × 28
algorithms × 27
finite-element × 26
integration × 26
eigenvalues × 24
sparse-matrix × 23
boundary-conditions × 19
nonlinear-equations × 19
c++ × 19
interpolation × 19
runge-kutta × 19
quantum-mechanics × 19
fenics × 18