Command that calls functions without the need of arguments

Please

  1. quote code,
  2. provide a MCVE.

Generally, you would have your problem contained in a structure, bound to a variable, and you can simply implement a reset(problem::MyProblemType) method.

3 Likes