ye when it comes to maximizing or minimizing an equation the LPP is
enough, when it
comes to optimizing the solution the DP comes into the picture.

On May 4, 7:24 pm, pritesh kumar <[email protected]> wrote:
> how will u formulate the dp solution , as i was pointed by somebody that
> its a linear programming problem . (simplex).
> Not sure though.
>
>
>
> On Fri, May 4, 2012 at 7:50 PM, rs <[email protected]> wrote:
> > Hi,
>
> > The above problem is Dyanamic Programming problem. The approach for
> > such type of problem is that
>
> > On May 4, 7:02 pm, techietone <[email protected]> wrote:
> > > There are 10000 stations numbered from 0 to 9999. from each station ,
> > > some load has to be transferred to another station by train . the fuel
> > > consumption of train between 2 successive station is 1 litre .
>
> > > Find the minimum amount of fuel , in which loads can be transferred to
> > > all the destination stations.
>
> > > constraints: the load for each station is between 1 and 100 inclusive.
> > > a train cannot carry more than 50 kgs of load at one time. a train
> > > cannot carry loads of several stations at the same time even if it can
> > > take more load . several stations can send their load to a station at
> > > the same time.
>
> > > the first train leaves station 0.
>
> > > Input : the destination station and load to be transferred for each of
> > > the 10000 stations.
>
> > > need help in solving this problem.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Code Jam" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/google-code?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to