| 1 |
/** |
| 2 |
* @brief Convex Quadratic Programming library |
| 3 |
* |
| 4 |
* From: |
| 5 |
* http://ra.uni-trier.de/~huebner/software.html |
| 6 |
* |
| 7 |
* ---------------------------------------------------------------------- |
| 8 |
* This program is free software; you can redistribute it and/or modify |
| 9 |
* it under the terms of the GNU General Public License as published by |
| 10 |
* the Free Software Foundation; either version 2 of the License, or |
| 11 |
* (at your option) any later version. |
| 12 |
* |
| 13 |
* This program is distributed in the hope that it will be useful, |
| 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
* GNU General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU General Public License |
| 19 |
* along with this program; if not, write to the Free Software |
| 20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 21 |
* ---------------------------------------------------------------------- |
| 22 |
* |
| 23 |
* @author Ewgenij Hübner |
| 24 |
* |
| 25 |
* $$ |
| 26 |
*/ |
| 27 |
|
| 28 |
#ifndef MANTIUK08_CQP_H |
| 29 |
#define MANTIUK08_CQP_H |
| 30 |
|
| 31 |
#ifdef __cplusplus |
| 32 |
#define __BEGIN_DECLS extern "C" { |
| 33 |
#define __END_DECLS } |
| 34 |
#include <gsl/gsl_matrix.h> |
| 35 |
#else |
| 36 |
#define __BEGIN_DECLS /* empty */ |
| 37 |
#define __END_DECLS /* empty */ |
| 38 |
#endif |
| 39 |
|
| 40 |
__BEGIN_DECLS |
| 41 |
|
| 42 |
int pdip_initial_point_feasible_x(const gsl_matrix *A, const gsl_vector *b, |
| 43 |
gsl_vector *x); |
| 44 |
|
| 45 |
int pdip_initial_point_feasible_s(const gsl_matrix *C, const gsl_vector *d, |
| 46 |
const gsl_vector *x, gsl_vector *s); |
| 47 |
|
| 48 |
int pdip_initial_point_y(const gsl_matrix *Q, const gsl_vector *q, |
| 49 |
const gsl_matrix *A, const gsl_vector *x, |
| 50 |
gsl_vector *y); |
| 51 |
|
| 52 |
int pdip_initial_point_z(gsl_vector *z); |
| 53 |
|
| 54 |
int pdip_initial_point_strict_feasible(gsl_vector *x, gsl_vector *s); |
| 55 |
|
| 56 |
__END_DECLS |
| 57 |
|
| 58 |
#endif |