TUM - A generic framework for optimization problem