Optim - provide gradient with fixed parameters

Please provide a self-contained example.

1 Like