Wednesday, May 19, 2010

World Peace - A problem in Optimization

As an engineer, and by virtue of that, as a pseudo-mathematician, I tend to view events around me from a technical perspective. One of my latest realizations is about how the beauty of optimization as a technique and field of study in mathematics and science is also actually a wonderful philosophy. For those uninitiated and non-technical, optimization is a method of solving problems by optimizing a particular objective function with respect to certain constraints. The logic is actually so simple to grasp, yet its applications are so far-reaching. Optimization as a process here could almost be any process, which shows us the way to achieve our final objective. A good real-life example of it could be cooking.

We begin with a state of a collection of ingredients. Our objective function is a 'delectable' dish. Notice that the 'delectable' part is the actual objective, not the dish itself. Our constraints could include available time to cook, composition of ingredients, etc. As it happens often in problem solving, we follow a well-tread path towards a desirable solution. Similarly, we follow a particular recipe's instructions. At each step however, we stop to estimate how close are we to our objective. In this case, we stop to check the extent of salt or spice, dilution or thickness, etc. If we find that we have either gone over or stopped short of a particular state in our preparation at that given instance, as per the recipe instructions, we try to adjust our dish so that we are still en-route to that 'delectable' dish of ours. The recipe instructions could also be considered as constraints for they help us check our current dish status. Sometimes we might think that we are on the right track at some instances when intermittent checks yield positive results on taste and mixture of the dish. These are local optima, as understood in the field of optimization. They could lead us into believing that we have achieved or are on our way to achieving our objective. One essential pit-fall to watch out are such points of local optima. The global objective of a 'delectable' dish in the end is what counts. We could arrive at this dish both by going through the local optima, or by not even reaching the local optima en-route. That is essentially the beauty of optimization. The means don't matter, the end does.

It is the same story if optimization were to be treated as a philosophy. We are born as individuals, each with unique personalities, thought-processes, capabilities and decision making skills. At each step of our life, we are faced with situations our reaction to which determine our future courses of action(s). The moment we are born, until the moment we expire we are a living optimization problem. Our local optima are the minor successes, little joys, and smiles. Sometimes a local optima gets over and above us that we could think it is indeed 'a' global optima. (The 'a' stands for our desire to have more such intensified periods of success.) Alas, sooner or later we realize that our path is a wrong one due to this misconception. The constraints are the ones we have in real life as well - time, money, opportunities both kind of and lack of, relationships, responsibilities, commitments etc. When someone asks us for our objective or goal in life, they are asking us this very objective that we would want to achieve using a real-time application of optimization strategies. No wonder we regard mathematics as the queen of sciences. It lets us express such complex philosophies and thoughts in the most simplest of ways.

Personally this realization is a profound one for me because although I haven't yet identified my global optima or objective concretely, I do know that the ones I keep stopping at for the time being are all local optima. Consider mankind's optimization problem. The objective at least for now is to achieve world peace and harmony. Divide and conquer approach tells us that this global objective has been broken down in to local objectives from a mankind perspective but global to every nation's perspective. If we were to go deeper in this tree of objectives, the leaves would represent the objectives we all personally pursue as our life's optimization problem. This leads to an important thought. Every single action and reaction from every one of us matters - be us rich or poor, educated or uneducated, fortunate or unfortunate.

Mahatma Gandhi sums this up for us in his famous talisman in 1948:

"I will give you a talisman. Whenever you are in doubt, or when the self becomes too much with you, apply the following test. Recall the face of the poorest and the weakest man [woman] whom you may have seen, and ask yourself, if the step you contemplate is going to be of any use to him [her]. Will he [she] gain anything by it? Will it restore him [her] to a control over his [her] own life and destiny? In other words, will it lead to swaraj [freedom] for the hungry and spiritually starving millions?Then you will find your doubts and your self melt away."

No comments:

Post a Comment