Author Archive

Transportation Problem

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 […]

Posted in Topics: Uncategorized

Add a Comment »

Genetic Algorithm

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

Add a Comment »

Inverse Quadratic Interpolation for Root Rinding

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

Add a Comment »