I\'m trying to port a matlab code to Octave.
In matlab it\'s possible to call optimset with function_handle:
function_handle