About Dynamic Programming

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
lyjgeorge
New poster
Posts: 3
Joined: Sat Nov 23, 2002 2:52 pm

About Dynamic Programming

Post by lyjgeorge »

Hello,everybody!
I'm a newcomer to this forum.
I think that Dynamic Programming is quite an important way to solve OI problems. But it seems a bit difficult to learn.
So I want someone to paste some MODEL problem for using Dynamic Programming.....

Thank you . I want to improve both my skill on algorithm and my English :)
Current : Fight for NOIP2002!
Miguel Angel
Learning poster
Posts: 60
Joined: Tue Aug 13, 2002 2:39 am
Location: Mexico

DP

Post by Miguel Angel »

Well, I think that DP is a very(VERY) general approach, which must meet the following conditions:
(Let A and B two distinct events)
* A and B must be independent events (that is, changes on A doesn't affect changes on B)
* There's exist some precedence or order between A and B
And the most important:
* The optimum of every event can be calculated from the optimum of their ancestors.

There'r many many problems about DP, involving: Graphs, Maths, finite NP problems, and Trivial problems. Almost can be modeled mathematically, u can develop ur ability on DP just doing those problems :).
:D Miguel & Marina :D
lyjgeorge
New poster
Posts: 3
Joined: Sat Nov 23, 2002 2:52 pm

Test can I reply or not

Post by lyjgeorge »

Why reply needs Subject?
Current : Fight for NOIP2002!
lyjgeorge
New poster
Posts: 3
Joined: Sat Nov 23, 2002 2:52 pm

Post by lyjgeorge »

Well,Miguel Angel
Would you please introduce some problems at this site which should use Dynamic Programming(Just simple DP) to solve ?

I want to do some simple DP now.


After that I'll find some difficult problem to solve.
Current : Fight for NOIP2002!
Ming Han
Learning poster
Posts: 77
Joined: Thu Jun 06, 2002 7:10 pm
Location: Singapore
Contact:

DP

Post by Ming Han »

Hi,

I think ACM 108 is a DP problem... not sure.

anyway, http://www.comp.nus.edu.sg/~stevenha/pr ... g_dp1.html is a very good site on DP.

Ming Han
:: HanWorks ::
Juergen Werner
New poster
Posts: 27
Joined: Wed Apr 17, 2002 7:54 pm

Post by Juergen Werner »

Here you can find an assigment of some online judge problems to several categories (including DP): http://www.cs.sunysb.edu/~skiena/390/hw.html

There are a lot more DP problems on the site (like 531 Compromise), but the ones listed by the link above should do for the beginning.
Post Reply

Return to “Algorithms”