Algorithm one (dynamic programming)

Source: Internet
Author: User

Operational research: Choose the best solution from a wide range of scenarios according to the given conditions and objectives! Dynamic programming is one of the important branches of operations research and a method to solve the optimization of multi-stage decision-making process.

The dynamic programming is simply: using the strategy of divide and conquer, the problem of solving the optimal solution is decomposed into the optimal solution of some sub-problems, and the sub-problem is decomposed into the combination of sub-problems recursively, and the optimal solution of the original problem and the local sub-problem can be solved by recursive recursive method. There may be overlapping between these local sub Is that a sub-problem may need to be solved multiple times, so the sub-problem and its solution need to be recorded, so that each sub-problem only one time, thus improving efficiency.

Optimization of original problem and only if sub-problem is optimal

The dynamic programming with the LIS problem, it feels really amazing to find a particular algorithm for some data structure,

Algorithm one (dynamic programming)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.