Merge branch 'perfect_foresight' into 'master'

fix bug when no convergence and backward model

See merge request !1726
11 jobs for master in 67 minutes and 27 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Build
passed #16992
build_binaries

00:10:50

passed #16993
build_doc

00:01:31

 
  Test And Pkg
passed #16996
macOS
pkg_macOS

00:13:21

passed #16994
pkg_source

00:01:31

passed #16995
pkg_windows

00:28:18

passed #17000
test_dynare++

00:15:02

passed #16997
test_matlab

00:54:27

manual #16999
allowed to fail manual
test_octave
manual #16998
allowed to fail manual
test_old_matlab
 
  Deploy
passed #17001
restricted
deploy_manual_unstable

00:00:22

passed #17002
restricted
deploy_snapshot_unstable

00:01:45