Repository navigation
[breaking] remove SingleVariable - #1559
Conversation
267b219 to
d0c93b5
Compare
|
could we get a preview of the docs? (not sure if you have to trigger it with a command) |
|
The preview only works if the docs finish building, and if you have merge rights on the repository. In the case, the docs failed to build. |
|
interesting failure of the tests: |
21e88f0 to
d23ce31
Compare
Another fix Another fix
Fix MOF Fix docs Fix docs-ii Small fixes
ef333ce to
c2678ce
Compare
|
Okay. CI is finally passing on this one. |
| ## Types | ||
|
|
||
| ```@docs | ||
| VariableIndex |
There was a problem hiding this comment.
it's also in another place, I would have kept here too probably
There was a problem hiding this comment.
It's in the Standard Form section. It's a toss-up where it should go. We have a problem that it's both an index and a function. We're confusing the abstraction.
|
Nice to see 700 lines go away! I looked over the changes and left comments. fx = MOI.SingleVariable(x)
... fx ...being transformed into fx = x
... fx ...while it should now be ... x ...One could argue that it would better be done in another PR. Catching these was much easier by looking through the diff of this PR though which is why I proceeded this way. |
This is a bit misleading. The code reduction is due to formatting fitting on a single line, not a reduction in code complexity. |
|
Last chance for objections. I vote we merge this and fix any remaining tweaks in a separate PR. It's too hard to review this monster. |
|
Well. There goes that. |

I think I lost the battle on SingleVariable, so here goes. Tests are broken because there are lots of manual changes still needed, but overall, the script covered most changes.
Closes #1472
Closes #1474
TODOs
Script