ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 18 May 2011 17:54:35 +0200Solve system of equations with additional conditions in sagehttps://ask.sagemath.org/question/8120/solve-system-of-equations-with-additional-conditions-in-sage/Hi Sage users,
I've got a system of equations like the following example:
- **eq1 = a + b == n * (c + d)**
- **eq2 = b == k * d**
with n and k must be integers.
for the other variables, there are additional conditions like
- **a >= 80**
- **b >= 1000**
- **c >= 20**
- **d >= 40**
- **a + b <= 2000**
- **c + d <= 90**
I want to get all solutions of this system where n and k are integers.
Is there a way to find these with sage?
Would be great to get any possible hint to do this!
Thanks for your suggestions,
TobitwkWed, 18 May 2011 17:54:35 +0200https://ask.sagemath.org/question/8120/