how to get all possible solutions

View previous topic View next topic Go down

how to get all possible solutions

Post  gsreddy on Thu Dec 06, 2012 3:18 pm

How to get all possible solutions..

for example: if i try to model product of two numbers (x,y) and the result should be equal to 12

the various possible values of x and y
x=12 y=1
x=6 y=2
x=4 y=3
x=3 y=4
x=2 y=6
x=1 y=12

is there any way to assert to get all solutions..



gsreddy

Posts : 1
Join date : 2012-12-06

View user profile

Back to top Go down

Re: how to get all possible solutions

Post  pat team on Thu Dec 06, 2012 3:34 pm

PAT's reachablity search will stop when one solution is found.
We are thinking to add a logging method to allow user to write something to a text file, then
you can log all the results into a text file and set the reachablity condition to false.

gsreddy wrote:How to get all possible solutions..

for example: if i try to model product of two numbers (x,y) and the result should be equal to 12

the various possible values of x and y
x=12 y=1
x=6 y=2
x=4 y=3
x=3 y=4
x=2 y=6
x=1 y=12

is there any way to assert to get all solutions..



pat team
Admin

Posts : 17
Join date : 2010-02-15

View user profile http://www.comp.nus.edu.sg/~pat/

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum