convexengineering / gpkit

Geometric programming for engineers
http://gpkit.readthedocs.org
MIT License
206 stars 40 forks source link

Directly modify A matrix during SGP solves #1479

Closed bqpd closed 4 years ago

bqpd commented 4 years ago

Paves the way for removing .as_approxlts, .as_approxgts, mutategp, blackbox, pineq.as_gpconstr, sigeq.as_hmapslt1, externalfn, and other joys. Plus, it's much faster.

(note to self: will that still need a fallback for if the number of variables / etc changes size? maybe what I want to do is generate the GP with just the GP constraints first (but, bound warnings), then add the SPs to the A matrix manually?)

bqpd commented 4 years ago

test models please

bqpd commented 4 years ago

test models please

bqpd commented 4 years ago

test models please

bqpd commented 4 years ago

test this please

whoburg commented 4 years ago

cool!