Suppose you own 4 factories, from A to D, which provides production for 3 shops, from 1 to 3. The productivities for factories A to D are 1000, 2000, 2500 and 1500 respectively, and the demand of store 1 to 3 are 3000, 2000 and 2000. The costs of transportation are as following (in dollars […]
Author Archive
Genetic Algorithm
Monday, March 10th, 2008 12:28 am
Written by: hangli
Just imagine you are going to program a robot with tens of motors for its motion. How can you write a program to harmonize all these motors to make this robot move forward? Is a nightmare, right? Luckily, genetic algorithm can wake you up with hope from this bad dream, because it can leave the […]
Posted in Topics: Uncategorized
Inverse Quadratic Interpolation for Root Rinding
Sunday, February 17th, 2008 11:41 pm
Written by: hangli
Inverse quadratic interpolation is another root-finding algorithm besides bisection, Newton’s, and secant method. The way that inverse quadratic interpolation works is similar to secant method. However, instead of using two points as secant method, inverse quadratic interpolation use three points to get the next point.
Inverse quadratic interpolation works as following:
1) Select three points, x0, x1, […]
Posted in Topics: Uncategorized






Posted in Topics: Uncategorized
Add a Comment »