Hi All,

We are new to Expert Systems.

We have just decided to start coding for a simple mathematical problem
to quickly understand the basics of rule based System.

The problem is as follows

You have to choose four weights from a set of 1 to 40 Kg weights,
so that you can measure anything from 1 Kg to 40 Kg.

We have reached the following stage.

Step 1.
We have assummed 4 variables A,B,C & D.
We have found out all the possible equations that are possible
i.e

A+B
A+C
A+D
A+B+C
A+B-C
....
....
....
A+B+C+D

Step 2.
Our next step is to replace the above variable with a set of 4 such numbers such
that the above equations
result in values from 1 to 40.

We have got stuck up at this point in the code.
We have attached the File alongwith..

Please help us

Thank you
rakesh/sachin


(See attached file: 40.clp)

40.clp

Reply via email to