model_solve.Rd
Solver of the model, wrapped from nleqslv.
model_solve(
CONFIG,
FUN,
XSTART = rep(100, 144),
BTOL = 0.01,
MAXIT = 1000,
MESSAGE = T
)
The configuration generated from model.shock.config
A function (passed to nleqslv) of XSTART returning a vector of function values with the same length as XSTART
A numeric vector with initial values for solving, e.g., rep(100,144)
Passed to btol in nleqslv
Passed to maxit in nleqslv
If T, print solution message
A list of model solution (model.sol) and output data (outDB)