Overview
Comment:Fixed zeroing of initial guess of unknown inputs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 67b14533e7150149f9f3273ab5c7ff55087c5dcdbbce33fcc52d21a0c066f9c1
User & Date: geraint@users.sourceforge.net on 2001-08-09 03:09:23
Other Links: branch diff | manifest | tags
Context
2001-08-10
16:19:06
Tidied up the optimisation stuff check-in: ca9ae39eaa user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2001-08-09
03:09:23
Fixed zeroing of initial guess of unknown inputs. check-in: 67b14533e7 user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-08-08
03:16:08
Rationalisation of solver code, fixed ctors. check-in: ddee3fea10 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/cc/mtt_dassl.cc from [8cf3e05414] to [d41dae86e1].

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  const ColumnVector	openx	= args(8).VECTOR_VALUE();
#endif // STANDALONE

  static DAEFunc fdae(mtt_residual);
  static ColumnVector XX (Nx+Nyz);
  XX.insert (x,0);

  for (register int i = Nx; i < Nyz; i++)
    XX(i) = 0.0;

  double tout = t + ddt;

  DASSL fdassl (XX, t, fdae);
  x = fdassl.do_integrate (tout).extract (0,Nx-1);








|







61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  const ColumnVector	openx	= args(8).VECTOR_VALUE();
#endif // STANDALONE

  static DAEFunc fdae(mtt_residual);
  static ColumnVector XX (Nx+Nyz);
  XX.insert (x,0);

  for (register int i = Nx; i < Nx+Nyz; i++)
    XX(i) = 0.0;

  double tout = t + ddt;

  DASSL fdassl (XX, t, fdae);
  x = fdassl.do_integrate (tout).extract (0,Nx-1);


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]