question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TightConstraintSet not working with Signomials

See original GitHub issue
from gpkit import Variable, Model
from gpkit.constraints.tight import TightConstraintSet as TCS
from gpkit import LinkedConstraintSet

x = Variable('x'); y = Variable('y');
m = Model(x, [TCS([x >= y]), x >= 2, y >= 1])
m.solve()
# returns error as you would expect

m1 = Model(x, [TCS([x >= y]), x >= 2])
m2 = Model(y, [y>=1])
lc = LinkedConstraintSet([m1, m2])
m3 = Model(m1['x'], lc)
m3.solve()
# doesn't return an error #whoops

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bqpdcommented, Apr 5, 2016

Fixed in #605 now, and test added.

1reaction
bqpdcommented, Mar 29, 2016

Fixed in #605

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global solution of optimization problems with signomial parts
In this paper a new approach for the global solution of nonconvex MINLP (Mixed Integer NonLinear Programming) problems that contain signomial (generalized ...
Read more >
SIGNOMIAL PROGRAMS WITH EQUALITY CONSTRAINTS
strategy of the algorithm is to replace the original problem with a se- quence of subproblems each subject to the original signomial inequality...
Read more >
Global solution of optimization problems with ... - Åbo Akademi
In this paper a new approach for the global solution of nonconvex MINLP (Mixed Integer NonLinear Programming) problems that contain ...
Read more >
Signomial and polynomial optimization via relative ... - Index of /
Signomial optimization and signomial programming are challenging problems with ... inequality constraints– i.e. the problem of bounding. ( f , g)⋆.
Read more >
gpkit Documentation
Unlike most non-linear optimization problems, large GPs can be solved extremely quickly. ... A Signomial Program has signomial constraints.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found