solve the problem as unconstrained optimization. see files with 'addition' suffix