I can't say for sure if prolog is a good fit or not. The problems seems a
little bit too arithmetic maybe but do not trust my word on it.

Otherwise it seems like a typical curve examination problem to find all the
maxima, the maxima with the highest profit is the solution.

On Thu, Jul 26, 2012 at 3:11 PM, Joe Bogner <joebog...@gmail.com> wrote:

> Hi,
> I'd like to explore the use of pilog for solving linear programming
> problems. I'm not exactly sure where to start because I'm just starting to
> learn prolog.
> Is it the right tool to solving a problem like this?
> "*Example*: A farmer has 100 acres on which to plan oats or corn. Each
> acre of oats requires $18 capital and 2 hours of labor. Each acre of corn
> requires $36 capital and 6 hours of labor. Labor costs are $8 per hour. The
> farmer has $2100 available for capital and $2400 available for labor. If
> the revenue is $55 from each acre of oats and $125 from each acre of corn,
> what planting combination will produce the greatest total profit? What is
> the maximun profit?"
>  http://galileo.stmarys-ca.edu/jsauerbe/m3f09/solver.html
> Any examples or guidance on where to look would be very helpful.
> Thank you
> Joe

Reply via email to