You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!is_dcp(object)) {
if(ignore_dcp)
print("Problem does not follow DCP rules. Solving a convex relaxation.")
else
stop("Problem does not follow DCP rules.")
}
I would suggest replacing with
if (!ignore_dcp) {
if(!is_dcp(object)) {
stop("Problem does not follow DCP rules.")
}
}
The text was updated successfully, but these errors were encountered:
When calling
solve
withignore_dcp = TRUE
, the DCP check is still run. I can spot where this is happening in https://github.com/cvxgrp/CVXR/blob/master/R/problem.R, near line 473:I would suggest replacing with
The text was updated successfully, but these errors were encountered: