Closed QCmonk closed 3 years ago
Thanks for flagging this, I'm currently working on SCS v3.0 and I'm planning to update the docs significantly as part of that release. The cone dict is better described in the main C repo here. Is there anything in particular that's not clear?
I have looked at the documentation for the C repository which is helpful but still not sufficient I think. My difficulty is/was is its not clear how parameters in these cones corresponds to specifying that cone. Looking at for example the semidefinite programming test script where the cone parameter is specified as
K = { 'f': 10, 'l': 25, 'q': [5, 10, 0, 1], 's': [2, 1, 2, 0, 1, 10, 8], 'ep': 0, 'ed': 0, 'p': [0.25, -0.75, 0.33, -0.33, 0.2] }
My interpretation of this is that this specifies a free cone of dimension 10, a positive orthant cone ('l' for linear perhaps?) of dimension 25, four second order cones ('q' for quadratic? But then what does zero mean?) and so on. This breaks down however for the 'p' specifier which now has non-integer parameters indicating something other dimension is being specified. I suppose my point is that it is never stated anywhere as far as I can tell how one actually constructs the cone dictionary. Presumably I could dig into cvxpy and fine the answers there but this shouldn't be required when direct calls to SCS are desired.
Ok thanks, I will clarify this in the docs. To answer your questions:
Ah outstanding, thank you very much! I think it would be entirely sufficient to drop your description into the readme alongside the example cone dictionary. Closing the issue.
Hello,
The documentation for what fields correspond to which cones and how to structure each variable is very sparse. Would be good if additional documentation could be added to the readme on how the "cone" variable ought to be constructed for a given problem.