Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Resolved memory leak with test/test solver_ipopt.formula. Still some issues to overcome with regard to inactive relations, probably. Some issue still occurring when attempting to run whole solver_ipopt suite in one go.
Working on valgrind issues associated with asc_ipopt.c. Suppressed error output in test_ascDynaLoad by assigning no-op error_reporter.
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.
Merging all changes from Mahesh's GSOC project. svn merge -r2273:2671 svn://ascend.cheme.cmu.edu/ascend/code/branches/mahesh . See http://ascendwiki.cheme.cmu.edu/User:Mnm87 for details.
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Moving libascend components from #/base/generic into #/ascend
ipopt_eval_g...
Added CUnit test suite for 'compiler' module. Added a couple of *very* preliminary tests. Removed some debug output from packages.c Fixed a #include missing from module.h. Added a couple of missing #ifdef __cplusplus from test header files. Added little bit of test code into relman_hessian_count (still active).
IPOPT gets installed if built. added relman_hessian_count placeholder.
Fixed build of asc_ipopt.c. Small comment added in relman. IPOPT_LIB replaced by IPOPT_LIBS due to multiple linking requirement of that library.
Fixed TestSolver failing case (linux only). Silenced some debug output.
Fixed 'do_check' in PyGTK GUI. Added black box direct solve, experimental.
Removed some redundant #include statments. Added some explanation of testtmy.a4c (although currently broken with IDA).
REmoving some debug info
Added support for detection of boundary crossing in the IDA integrator. Cleared up some code comments and formatting.
Another one of these big refactorings. Split out 'system' directory from 'solver' directory. This will need more work but it's a start at getting the non-solver-specific code out separately.
Added index checking for semi-explicit DAE systems. Migrated error messages for mtx and linsolqr to the error_reporter mechanism.
@!@#$#$%! working at last
Fixed problem with sort order of diffvars vs sindex vs IntegratorSystem::y
Reversing changes to relman.[ch] (they broke CONOPT)
Added getParameter by name in SolverParameters. Fixed up refences to signal-related header files. Fixed up various warnings from -pedantic compilation. Identified an apparent bug with RelationCalcGradient (unsafe version). Added support for compilation of a standalone C++ program (idatest) in SCons build.
Header rearrangement for relation_type.h
Implemented the DAE partitioning routine but am nowing tracking down a fiendish memory crash.
Added integrator_ida_check_lists, it's showing up a problem
Fixed dependencies on dimen.h and fractions.h.
Removed unnecessary #include <compiler.h>
Huge reorganisation -- all mtx and lin files moved to base/generic/linear. Required many #include statements to be changed.
Softened error from bintoken.c Improved error reporting in instantiate.c Rearranged #includes in relation_util.[ch] Changed to asc_assert in relman.c Lots of fixed in slv3.c to get reporting of 'calc_ok' right. Also some better error reporting from slv3.c. Fixed usage info for error_reporter_tree_start(). Improved error/status reporting from bboxtest.c. Set PyGTK GUI to correctly catch ::solve errors. Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters) Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2. Fixed type.cpp to throw errors when instantiation fails.
Switch 'void slv_*' function to output a 0-on-success error flag. Added some debug output to ensure that such output gets through. Fixed TestBlackBox.testfail1 to work, using above changes. Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)
Merging Ben's changes from trunk, changeset 1105 to changeset 1234. This breaks Python test suite TestExtFn, so will need investigation.
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c. Fixed var_filter_t stuff in djex and fvex. More assertions in integrator.c Added output of initial state from lsode.c (hoping that's a good idea?) Fixed output code from relman_diff2. Added asc_panic_nofunc for non var-arg CPPs. Disabled -O3 flag in building C++ API Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x) Integrator::analyse throws exceptions on error now.
Fixing bug #305 (CONOPT not working with testconopt.a4c). Some effort to rearrange external 'solve' scripts, ongoing. Note, relman_diff2 returns 0 on success, but relman_eval returns 1 on success!
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment) Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed. Implemented the destroy fn through to 'extpy' module. Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs. Moved 'solvernotes' to a file of its own (was part of listnotes.py) Added 'repaint' to GTK 'tools' menu (for debugging) Added 'python.h' to top of library, type files (pygtk) to stop silly warnings. Working on some diagnosing of problems as noted in Simulation::checkInstance. Removed some old comments from namio.h and others. Renamed 'blsys' to 'sys' in integrator.c. Some work on fixing up the J*v function for IDA (not yet complete). Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.
Added finite-difference evaluation of gradients in blackboxes. Some work on J*v evaluation with IDA.
first attempt at merging with Ben's changes on the trunk
Removed some debug messages. Fixed up return values for Integrators functions to comply with integrator.c API.
Removed some debug messages from external libraries stuff. Fixed auto-sim stuff for files given with relative path on the commandline.
This change fixes the external relation evaluation! There are definite problems with convergence but this may be due to tolerences being too fine in ASCEND compared to freesteam.
Matrix evaluation of the jacobian is working now but there is something wrong with the solver's view of the incidence matrix, or something, as it does seem to be acting on the values it's receiving.
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...
Fixed relman_diffs to make call to ExtRel_Diffs_RHS and _LHS (this is a bad hack though, just to get the old code working again).
Added my so-called 'quick fix' to external relation processing. Still need to pursue corruption of efunc->etype pointer, for some reason.
Monster commit! Lots of recommenting and reorganising of external relations-related stuff. Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros. Fixed (?) the problem Art is having with icons in PyGTK. Turned on -Wall in SConstruct and fixed up a stack of warnings. Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)). Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7. Fixed up building of extfntest.c.
Replaced some references to ascmalloc with ASC_NEW_ARRAY
Merged changes from DAE branch (revisions 702 to 819) back into trunk. This adds the Integration API to the ASCEND solver (in base/generic). Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver. Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc') Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.
got rid of errant executable bits.
Normalised all #include statements so that files in the current directory are included as "localfile.h" and files in other directories are included as <directory/file.h> This is in accordance with the spec at http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax
Minor rework of jam system to stop relinking of libraries when sources not modified. Minor tweaks to stem the tide of compiler warnings.
Refactoring all MAX, MIN, ABS calls to general/mathmacros. Adding a GCC optimisation for these macros.
Minor fixes to: - continue killing compiler warnings on gcc & msvc - start working on function/data pointer mismatches - documentation tweaks Fixed ascMalloc.c memory logging problems. This has not been tested on linux/unix. If it fails to compile, please revert to the previous version and let me know.
Small changes to eliminate GCC warnings
moving things to base/generic
Setting up web subdirectory in repository
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |