Overview
Comment:Added timestamp to std::cerr message when solver fails to converge.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: f9fd1f0ee635bd3bcae7954eedb82c60f37b8bc31803008452c81e9579057ac0
User & Date: geraint@users.sourceforge.net on 2002-04-16 09:18:29
Other Links: branch diff | manifest | tags
Context
2002-04-16
10:50:51
Added to run mtt_cvs mailing list check-in: d24c49844b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:18:29
Added timestamp to std::cerr message when solver fails to converge. check-in: f9fd1f0ee6 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-04-15
10:54:31
Statically declare outputs and initialise to zero.
This is necessary to prevent spurious values from being output when no assignments are made (i.e. when "y(i) := 0 for all u" (Reduce:see NERO)).
check-in: 2b99562b30 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc from [3f81f0bf76] to [f1e519c135].

53
54
55
56
57
58
59

60
61
62
63
64
65
66
67
    default:
      unknown_errors++;
      break;
    }
  if (1 != info)
    {
      std::cerr

	<< " converge (" << convergences << ") "
	<< " limit (" << limit_errors << ")"
	<< " (max error = " << std::abs (eval(_ui).max()) << ")"
	<< " other (" << input_errors + user_errors + progress_errors + unknown_errors << ") "
	<< std::endl;
    }
  ferr << info << " ";
}







>








53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    default:
      unknown_errors++;
      break;
    }
  if (1 != info)
    {
      std::cerr
	<< " time " << _t << " \t"
	<< " converge (" << convergences << ") "
	<< " limit (" << limit_errors << ")"
	<< " (max error = " << std::abs (eval(_ui).max()) << ")"
	<< " other (" << input_errors + user_errors + progress_errors + unknown_errors << ") "
	<< std::endl;
    }
  ferr << info << " ";
}


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