New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quadratic objective support #11
Comments
On the 2nd point, do you mean we should just having a m.quadObj and m.affObj, and m.quadObj can be nothing? |
|
Operator overloads are done, I think. Needs testing to ensure that though. |
I also renamed some of the fields of QuadExpr to make it less verbose and camel-casey |
About to tackle point 2 |
Ok, done, I think. Tests pass, but we don't have a quadratic objective test yet! |
Do you want to do point 3? I see you've started on it. If not, I'll do it. |
Done. All that's left is macro support, but I'm not sure if I'll get to that in the short term. |
Future work then - I don't think its a priority |
objIsQuad
structure -- it really messes with type inference. Instead there should be separate quadratic and linear parts of the objective as members ofModel
. If there is a quadratic part, thenm.affobj
can point to the same object asm.quadobj.aff
, for example.The text was updated successfully, but these errors were encountered: