http://doc.sagemath.org/html/en/reference/discrete_geometry/sage/geometry/polyhedron/base.html#sage.geometry.polyhedron.base.Polyhedron_base.integral_points

On Friday, April 17, 2020 at 11:16:30 AM UTC-7, Bert Henry wrote:
>
> I tried it with
> var('x, y')
> assume(x,"integer")
> assume(x>0)
> assume(y, "integer")
> assume(y>0)
> solve(x+y==15,x,y)
>
> The result was
>
> (t_0, -t_0 + 15)
>
> obviously right, but not 6,9 7,8 8,7 and 9,6
>
>
>
> Am Freitag, 17. April 2020 19:17:12 UTC+2 schrieb Bert Henry:
>>
>> I have the equation
>> x + y = 15
>> an I'm looking for solution only in the range x=1..9 and y=1..9, x and y 
>> both integer
>> Is there a sage-command to do that?
>>
>> Thanks in advance
>> Bert Henry
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/7982d779-c4d9-4e3a-8f81-a84540c05a07%40googlegroups.com.

Reply via email to