function [opt_par_values,fval,exitflag]=osr_optimizer_function_wrapper(objective_function_handle,start_par_value,varargin)
% function [opt_par_values,fval,exitflag]=optimizer_function_wrapper(objective_function_handle,start_par_value,varargin)
% Demonstrates how to invoke external optimizer for mode_computation

    optim_options = optimset('display','iter', 'LargeScale','off', 'MaxFunEvals',100000, 'TolFun',1e-8, 'TolX',1e-6);
    bounds=[0 1;
        0 10
        0 10];
    [opt_par_values,fval,exitflag,output,lamdba,grad,hessian_mat] = ...
        fmincon(objective_function_handle,start_par_value,[],[],[],[],bounds(:,1),bounds(:,2),[],optim_options,varargin{:});

end