1 |
/* |
/* ASCEND modelling environment |
2 |
|
Copyright (c) 1990 Thomas Guthrie Epperly |
3 |
|
Copyright (C) 1993 Joseph Zaher |
4 |
|
Copyright (c) 1994 Joseph Zaher, Benjamin Andrew Allan |
5 |
|
Copyright (c) 2011 Carnegie Mellon University |
6 |
|
|
7 |
|
This program is free software; you can redistribute it and/or modify |
8 |
|
it under the terms of the GNU General Public License as published by |
9 |
|
the Free Software Foundation; either version 2, or (at your option) |
10 |
|
any later version. |
11 |
|
|
12 |
|
This program is distributed in the hope that it will be useful, |
13 |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
|
GNU General Public License for more details. |
16 |
|
|
17 |
|
You should have received a copy of the GNU General Public License |
18 |
|
along with this program; if not, write to the Free Software |
19 |
|
Foundation, Inc., 59 Temple Place - Suite 330, |
20 |
|
Boston, MA 02111-1307, USA. |
21 |
|
*//** @file |
22 |
|
This file implements some kind of command-line based interface for ASCEND's |
23 |
|
solver. It hasn't been carefully tested for a long time, although it still |
24 |
|
compiles successfully. It may have some value for debugging purposes, |
25 |
|
although currently we prefer to use our CUnit test suite together with |
26 |
|
Python scripting to drive ASCEND. -- JP, Feb 2011. |
27 |
|
|
28 |
|
OUTDATED: This file defines the function Solve(struct Instance *inst), which is |
29 |
|
swiped from solver/chris.h. This module will instead use Karl's |
30 |
|
solver. (was newascend/compiler/chris.h on wetterhorn) |
31 |
|
much of slv_interface.h is not yet implemented for SLV. |
32 |
|
*//* |
33 |
* SLV: Ascend Numeric Solver |
* SLV: Ascend Numeric Solver |
34 |
* by Karl Michael Westerberg |
* by Karl Michael Westerberg |
35 |
* Created: 2/6/90 |
* Created: 2/6/90 |
36 |
* Version: $Revision: 1.23 $ |
* Last in CVS: $Revision: 1.23 $ $Date: 1998/01/11 17:19:09 $ $Author: ballan $ |
|
* Version control file: $RCSfile: slv_interface.c,v $ |
|
|
* Date last modified: $Date: 1998/01/11 17:19:09 $ |
|
|
* Last modified by: $Author: ballan $ |
|
|
* |
|
|
* This file is part of the SLV solver. |
|
|
* |
|
|
* Copyright (C) 1990 Karl Michael Westerberg, Thomas Guthrie Epperly |
|
|
* Copyright (C) 1993 Joseph Zaher |
|
|
* Copyright (C) 1994 Joseph Zaher, Benjamin Andrew Allan |
|
|
* |
|
|
* The SLV solver is free software; you can redistribute |
|
|
* it and/or modify it under the terms of the GNU General Public License as |
|
|
* published by the Free Software Foundation; either version 2 of the |
|
|
* License, or (at your option) any later version. |
|
|
* |
|
|
* The SLV solver is distributed in hope that it will be |
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
* General Public License for more details. |
|
|
* |
|
|
* You should have received a copy of the GNU General Public License along with |
|
|
* the program; if not, write to the Free Software Foundation, Inc., 675 |
|
|
* Mass Ave, Cambridge, MA 02139 USA. Check the file named COPYING. |
|
|
* COPYING is found in ../compiler. |
|
37 |
*/ |
*/ |
38 |
|
|
|
/** |
|
|
*** This file defines the function Solve(struct Instance *inst), which is |
|
|
*** swiped from solver/chris.h. This module will instead use Karl's |
|
|
*** solver. (was newascend/compiler/chris.h on wetterhorn) |
|
|
*** much of slv_interface.h is not yet implemented for SLV. |
|
|
**/ |
|
|
|
|
39 |
#include "slv_interface.h" |
#include "slv_interface.h" |
40 |
#include "solver.h" |
#include "solver.h" |
41 |
|
|