A Chaos based approach for nonlinear optimization problems