First time here? Check out the FAQ!

Ask Your Question
2

Test if an inequality is feasible under assumptions

asked 10 years ago

Thomas gravatar image

I want to test if an inequality system is feasible under non-negativity assumptions. I run into the problem that the assumptions seem not be used by the inequality solver. Here is a minimal example

sage: (l1,l2) = var("l1 l2")
sage: assume (l1>=0)
sage: assume (l2>=0)
sage: solve (l1*l2<0, [l1,l2])
[[l1 < 0, 0 < l2], [0 < l1, l2 < 0]]

Is it possible to have the solver use the assumptions and determine infeasibility of the system?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 10 years ago

Thomas gravatar image

This seems to be the answer: http://trac.sagemath.org/ticket/6515

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 358 times

Last updated: Apr 01 '15