/[ascend]/trunk/solvers/conopt/asc_conopt.c
ViewVC logotype

Log of /trunk/solvers/conopt/asc_conopt.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 1504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 23 14:12:34 2007 UTC (17 years, 5 months ago) by jpye
File length: 88875 byte(s)
Copied from: trunk/models/johnpye/conopt/asc_conopt.c revision 1503
Diff to previous 1491
Moving solvers to their own directory

Revision 1491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 10 13:49:39 2007 UTC (17 years, 5 months ago) by jpye
Original Path: trunk/models/johnpye/conopt/asc_conopt.c
File length: 88875 byte(s)
Copied from: trunk/base/generic/solver/slv8.c revision 1490
Diff to previous 1487
Moved all solvers to dynamically loaded modules currently in folder models/johnpye.
Location of these files will ultimately change.

Revision 1487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 10 05:09:34 2007 UTC (17 years, 5 months ago) by jpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88714 byte(s)
Diff to previous 1320
Changes to the way in which sovlers are registered, to facilitate
dynamically-loaded solvers. Also split much of the 'solver' stuff
from slv.c (in the system directory) out into new file solver/solver.c
and added matching solver/solver.h. Solver IDs are now fixed-- they
don't change, and are stored in a list instead of in an array.

Revision 1320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 12:15:21 2007 UTC (17 years, 9 months ago) by jpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88807 byte(s)
Diff to previous 1316
Eliminated linsol, slv0 and slv1: moved the original files to 'disused' and editing out
all reference to them in solvers and related code (including some Tcl/Tk wrapper code)

Revision 1316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 07:22:21 2007 UTC (17 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88832 byte(s)
Diff to previous 1296
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.

Revision 1296 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 27 01:22:08 2007 UTC (17 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88828 byte(s)
Diff to previous 1259
Fixed bug with CONOPT giving invalid relation index to errmsg routine

Revision 1259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 28 01:49:38 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88809 byte(s)
Diff to previous 1257
Copyright dates

Revision 1257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 28 01:30:08 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88803 byte(s)
Diff to previous 1226
Fixed the bounding problem in Slv9.
Added python test cases for all of the models in Vicente's thesis.
Will now add these tests to buildbot.

Revision 1226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 00:06:42 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88852 byte(s)
Diff to previous 1205
Split slv_param.[ch] from slv.c and slv_common.h.
Removed some lint

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 03:03:01 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88880 byte(s)
Diff to previous 1201
Split block partitioning stuff from slv_stdcalls.[ch] into block.[ch].

Revision 1201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 13:26:06 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88861 byte(s)
Diff to previous 1196
Added some more test cases for DAE problem analysis.
Little bit of tidying up in the slv*.c files.

Revision 1196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 05:41:59 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88853 byte(s)
Diff to previous 1188
slv_get_status changed to return non-zero on failure.
Tests are passing with the new IDA 'analyse' routine but still plenty of gaps.

Revision 1188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 09:55:00 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88846 byte(s)
Diff to previous 1186
Removed redundant get_linsol* functions where all they do is return NULL.
Moved get_diffvars to slv_client.

Revision 1186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 00:29:21 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89061 byte(s)
Diff to previous 1183
Removed <compiler/*> dependencies in slv*.c where possible.
Did some minor reformatting of slv9.c.

Revision 1183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 20 09:15:51 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89152 byte(s)
Diff to previous 1079
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.

Revision 1079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 9 10:46:54 2007 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89405 byte(s)
Diff to previous 1060
Fixed bug 309

Revision 1060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 07:10:16 2007 UTC (17 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89354 byte(s)
Diff to previous 1055
Moved vector functions out of slv_common.c into mtx_vector.c
Created corresponding mtx_vector.h
Renamed vector_data to vec_vector and corresponding functions from slv_ to vec_* (with other minor named changed).
Made necessary changes to SConstruct, Makefile.in.
Done with regexxer, should have caught everything hopefully.

Revision 1055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 14:47:13 2007 UTC (17 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89351 byte(s)
Diff to previous 1054
simplified slv_check_bounds call.

Revision 1054 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 14:00:24 2007 UTC (17 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89368 byte(s)
Diff to previous 1044
Sorry, it was bothering me :-)
http://www.randomhouse.com/wotd/index.pperl?date=19960916

Revision 1044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 06:26:12 2007 UTC (17 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89368 byte(s)
Diff to previous 1036
Added return code to slv_check_bounds.
For solvers that make a call to slv_check_bounds, used the return code to set 'sys->s.inconsistent'
(but see my concerns as noted on the mailing list)

Revision 1036 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 07:40:26 2007 UTC (17 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89331 byte(s)
Diff to previous 921
Fixed CONOPT to return int from slv_iterate etc.

Revision 921 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 6 07:49:06 2006 UTC (18 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89245 byte(s)
Diff to previous 920
Fixing up some malloc/free problems with  integrator.c, removing some debug output from slv3.
Working on fixing IDA for systems with inactive variables (ongoing).

Revision 920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 6 05:19:00 2006 UTC (18 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 95192 byte(s)
Diff to previous 919
Fixed bug #297

Revision 919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 6 04:48:59 2006 UTC (18 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 95023 byte(s)
Diff to previous 909
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!

Revision 909 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 12:44:41 2006 UTC (18 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89451 byte(s)
Diff to previous 908
Added finite-difference evaluation of gradients in blackboxes.
Some work on J*v evaluation with IDA.

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (18 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89406 byte(s)
Diff to previous 843
first attempt at merging with Ben's changes on the trunk

Revision 843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 10 06:18:24 2006 UTC (18 years, 2 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89406 byte(s)
Diff to previous 799
Changed over to ASC_NEW* for some solver memory allocation.
Fixed up file headers.
Change debug and error output to use new mechanism.

Revision 799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 1 00:56:10 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89621 byte(s)
Diff to previous 790
Corrected syntax in testcmslv.
Changed instance.cpp so that residuals are not called for logrels.
Added CONOPT_BOUNDLIMIT to both slv8 and slv9.
Changed limits for colsta in slv9 (needs checking)

Revision 790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 07:33:45 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89569 byte(s)
Diff to previous 789
Added support for dlopening of CONOPT. This means that we can distribute ASCEND without
needing to maintain two versions.

Revision 789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 04:35:17 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89547 byte(s)
Diff to previous 788
Working version of testconopt.a4c now. This model yeilds the solution given in the CONOPT tutorial.

Revision 788 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 03:17:54 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 89343 byte(s)
Diff to previous 787
CONOPT running with testconopt.a4c but seems to give the wrong answer still.

Revision 787 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 15:09:14 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 87916 byte(s)
Diff to previous 785
More detail about why CONOPT solver is ineligible

Revision 785 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 14:29:09 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 87802 byte(s)
Diff to previous 783
Some more work to integrate the new CONOPT API with ASCEND.
Also added ability to select different solvers from the PYGTK GUI

Revision 783 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 09:16:19 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 88562 byte(s)
Diff to previous 708
First work towards reinstating the CONOPT solver. So far, I've got it building
and linking without errors, but haven't tested the resulting runtime.

Revision 708 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 07:34:31 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 86932 byte(s)
Diff to previous 669
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 86946 byte(s)
Diff to previous 399
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.

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/solver/slv8.c
File length: 87062 byte(s)
Diff to previous 11
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

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (20 years ago) by aw0a
Original Path: trunk/base/generic/solver/slv8.c
File length: 87188 byte(s)
Copied from: trunk/ascend4/solver/slv8.c revision 10
Diff to previous 1
moving things to base/generic

Revision 1 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Oct 29 20:54:12 2004 UTC (20 years, 1 month ago) by aw0a
Original Path: trunk/ascend4/solver/slv8.c
File length: 87188 byte(s)
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.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22