A study of mathematical programming with application in production planning and petroleum sector in India