CVX Forum: a community-driven support forum
Latest Categories Search
Home / Nonconvex / Please help me to fix the problem

Please help me to fix the problem

Nonconvex
Jan 14, 2018
T
Qiang Tang
Jan 14, 2018 #1

cvx_begin gp
variables X y
variables z(10)
minimize(X^2-X*z(2)*log(y))
2<=z<9
10>= X >= 1
7<=y<=20
cvx_end
X
y
z

Disciplined convex programming error:
Cannot perform the operation: {log-affine} .* {real affine}

M
Mark L. Stone
Jan 14, 2018 #2

This is non-convex. Why isn't CVX accepting my model? READ THIS FIRST!

Archive of CVX Forum: a community-driven support forum — Generated as a static archive