An optimization project done for course