| 1 |
/* |
| 2 |
* Incorporation of the nonlinear solver CONOPT to ASCEND |
| 3 |
* by Ken Tyner |
| 4 |
* Created: 6/97 |
| 5 |
* Version: $Revision: 1.3 $ |
| 6 |
* Version control file: $RCSfile: slv8.h,v $ |
| 7 |
* Date last modified: $Date: 1997/08/12 16:43:46 $ |
| 8 |
* Last modified by: $Author: rv2a $ |
| 9 |
* |
| 10 |
* This file is part of the SLV solver. |
| 11 |
* |
| 12 |
* Copyright (C) 1997 Carnegie Mellon University |
| 13 |
* |
| 14 |
* The SLV solver is free software; you can redistribute |
| 15 |
* it and/or modify it under the terms of the GNU General Public License as |
| 16 |
* published by the Free Software Foundation; either version 2 of the |
| 17 |
* License, or (at your option) any later version. |
| 18 |
* |
| 19 |
* The SLV solver is distributed in hope that it will be |
| 20 |
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 |
* General Public License for more details. |
| 23 |
* |
| 24 |
* You should have received a copy of the GNU General Public License |
| 25 |
* along with the program; if not, write to the Free Software Foundation, |
| 26 |
* Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named |
| 27 |
* COPYING. COPYING is found in ../compiler. |
| 28 |
*/ |
| 29 |
|
| 30 |
/** @file |
| 31 |
* CONOPT solver registration module. |
| 32 |
* <pre> |
| 33 |
* Contents: CONOPT module |
| 34 |
* |
| 35 |
* Authors: Ken Tyner and Vicente Rico-Ramirez |
| 36 |
* |
| 37 |
* Dates: 06/97 - original version |
| 38 |
* 07/97 - Creating a structure of function pointers so that |
| 39 |
* multiple calls to CONOPT can be made |
| 40 |
* 08/97 - Improving CONOPT message report to ASCEND |
| 41 |
* |
| 42 |
* Requires: #include "utilities/ascConfig.h" |
| 43 |
* #include "slv_client.h" |
| 44 |
* </pre> |
| 45 |
*/ |
| 46 |
|
| 47 |
#ifndef slv8__already_included |
| 48 |
#define slv8__already_included |
| 49 |
|
| 50 |
typedef struct slv8_system_structure *slv8_system_t; |
| 51 |
|
| 52 |
int slv8_register(SlvFunctionsT *f); |
| 53 |
/**< |
| 54 |
* Registration function for the CONOPT solver. |
| 55 |
* This is the function that tells the system about the CONOPT solver. |
| 56 |
* Our index is not necessarily going to be 8. That everything here is |
| 57 |
* named slv8* is just a historical result and a convenient way of |
| 58 |
* shutting up the linker. |
| 59 |
* |
| 60 |
* @param f SlvFunctionsT to receive the solver registration info. |
| 61 |
* @return Returns non-zero on error (e.g. f == NULL), zero if all is ok. |
| 62 |
*/ |
| 63 |
|
| 64 |
#endif /* ifndef slv8__already_included */ |
| 65 |
|