Xinyue Shen
Xinyue Shen
@xpuoxford `print(prob.is_dcp())` returns False, because it is not DCP. It is DMCP, so `print(is_dmcp(prob))` returns True. To call the DMCP method, please run `prob.solve(method='bcd')`.
Hi @aleolivero thank you for your interest in DCCP. For your problem, most of the solvers compatible with CVXPY should be compatible with DCCP, but it may depend on the...
Hi @zhumingpassional, for the specific constraints that you mentioned, DCCP can handle them as long as you write them as (x + y)^2
Hi @zhumingpassional, thanks for the questions, but DCCP currently does not work with CVXPYgen.
@zhumingpassional For the first question, the following code should work. ``` [(x + y) ** 2
Hi @nicklar, thanks for reporting the error. It is from the gradient computation, and while we're fixing it, a quick workaround for your case is to write the constraint as...
Hi @TroyWilliams3687 DCCP itself does not use multiprocessing, but if you specify a solver that can work with multiprocessing, then you'll be able to set the number of threads used...
Hi @vnscnap, what error did you get when you installed the downloaded package using `python setup.py install`? And what versions of Python and `setuptools` did you use?
Hi @algebravic, I do not have this issue using CVXPY 1.1.15 and the most updated DCCP. Did you install DCCP from this repository? If not, you could download the master...
To run the algorithm many times with different random initial points, the parameter that needs to be set is `ccp_times`, not `times`.