CVX Forum: a community-driven support forum
Latest Categories Search
Home / Uncategorized / CVXPY problem of writing the code

CVXPY problem of writing the code

Uncategorized
Dec 30, 2023
M
Michael
Dec 30, 2023 #1

Is this code right?
f_temp2=np.empty((SC,K), dtype=object)
for i in range(SC):
for j in range(K):
f_temp2[i,j] =cp.Variable(name=‘f_temp2’)

Thanks a lot.

M
Mark L. Stone
Dec 30, 2023 #2

This forum is for CVX, which runs under MATLAB, nor CVXPY

https://www.cvxpy.org/faq/index.html#where-can-i-get-help-with-cvxpy

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