Are there any examples of DiscreteProblem usage?

I have searched extensively online and cannot find anywhere a simple example of a set up for a discrete problem. A simply want an example of usage and set up.

Not a SciML user so someone else might have a better idea, but if you can’t find anything in the docs it might be worth having a look through the test suite to see how (if) it’s being used there.

There is a lot of random stuff around. For example

using OrdinaryDiffEqFunctionMap
  function henon_map!(u_next, u, p, t)                                                                                                                                                                              
      u_next[1] = 1 + u[2] - 1.4 * u[1]^2                                                                                                                                                                           
      u_next[2] = 0.3 * u[1]                                                                                                                                                                                        
  end                                                                                                                                                                                                               
  prob = DiscreteProblem(henon_map!, [0.5, 0.5], (0, 100))                                                                                                                                                          
  sol = solve(prob, FunctionMap())

What exactly are you looking to do?

Simulating economies with an approach that has little association with standard economics. Since I’m not deeply familiar with the language, but have decades of programming experience, I like to start out with a basic example just to reduce the mental load of setting up my own problem.

It’s particularly painful because I tried several different searches. They simply forward me to standard continuous examples.

If example set ups are president, the package documentation itself, explicitly for discrete problems