Classes | Namespaces | Typedefs | Functions | Variables
BonFilterSolver.cpp File Reference
#include "BonminConfig.h"
#include "BonFilterSolver.hpp"
#include "BonFilterWarmStart.hpp"
#include <fstream>
#include "CoinTime.hpp"
#include <algorithm>
Include dependency graph for BonFilterSolver.cpp:

Go to the source code of this file.

Classes

struct  Bonmin::Transposer
 

Namespaces

 Bonmin
 Define an n-way class for variables.
 

Typedefs

typedef Bonmin::FilterSolver::fint fint
 
typedef Bonmin::FilterSolver::real real
 
typedef long ftnlen
 

Functions

void F77_FUNC (filtersqp, FILTERSQP)(fint *n
 
struct {
   fint   char_l
 
   char   pname [10]
 
} F77_FUNC (cpname, CPNAME)
 
struct {
   fint   phl
 
   fint   phr
 
   fint   phc
 
} F77_FUNC (hessc, HESSC)
 
struct {
   real   ubd
 
   real   tt
 
} F77_FUNC (ubdc, UBDC)
 
struct {
   real   infty
 
   real   eps
 
} F77_FUNC_ (nlp_eps_inf, NLP_EPS_INF)
 
struct {
   fint   n_bqpd_calls
 
   fint   n_bqpd_prfint
 
} F77_FUNC_ (bqpd_count, BQPD_COUNT)
 
struct {
   fint   scale_mode
 
   fint   phe
 
} F77_FUNC (scalec, SCALEC)
 
void F77_FUNC (objfun, OBJFUN)(real *x
 Objective function evaluation. More...
 
void F77_FUNC (confun, CONFUN)(real *x
 Constraint functions evaluation. More...
 
void F77_FUNC (gradient, GRADIENT)(fint *n
 
 for (int i=0;i< nnz;i++) = values[permutationHess[i]]
 
void F77_FUNC (hessian, HESSIAN)(real *x
 

Variables

void fint * m
 
void fint fint * kmax
 
void fint fint fint * maxa
 
void fint fint fint fint * maxf
 
void fint fint fint fint fint * mlp
 
void fint fint fint fint fint
fint * 
mxwk
 
void fint fint fint fint fint
fint fint * 
mxiwk
 
void fint fint fint fint fint
fint fint fint * 
iprint
 
void fint fint fint fint fint
fint fint fint fint * 
nout
 
void fint fint fint fint fint
fint fint fint fint fint * 
ifail
 
void fint fint fint fint fint
fint fint fint fint fint real * 
rho
 
void fint fint fint fint fint
fint fint fint fint fint real
real * 
x
 
void fint fint fint fint fint
fint fint fint fint fint real
real real * 
c
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real * 
f
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real * 
fmin
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real * 
bl
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real * 
bu
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real * 
s
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real * 
a = *n
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint * 
la
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real * 
ws
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint * 
lws
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real * 
lam
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char * 
cstype
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char real * 
user
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char real fint * 
iuser
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char real fint fint * 
maxiter
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char real fint fint fint * 
istat
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char real fint fint fint real * 
rstat
 
void fint fint fint fint fint
fint fint fint fint fint real
real real real real real real
real real fint real fint real
char real fint fint fint real
ftnlen 
cstype_len
 
static Ipopt::TNLP * tnlpSolved = NULL
 
static fint nnz_h = -1
 
static fint * hStruct = NULL
 
static int * permutationJac = NULL
 
static int * permutationHess = NULL
 
void fint * n
 
void fint real real fint fint
*errflag 
errflag = !tnlpSolved->eval_f(*n, x, 1, *f)
 
void fint fint * mxa
 
int nnz = la[0] - *n - 1
 ATTENTION: Filter expect the jacobian to be ordered by row. More...
 
double * values = new double [nnz]
 
void fint fint fint * phase
 
void fint fint fint real real
fint real fint fint * 
l_hess = nnz_h
 
void fint fint fint real real
fint real fint fint fint * 
li_hess = nnz_h + *n + 3
 
fint end = nnz_h + (*n) + 2
 
Ipopt::Number * mlam = NULL
 

Typedef Documentation

Definition at line 19 of file BonFilterSolver.cpp.

Definition at line 20 of file BonFilterSolver.cpp.

typedef long ftnlen

Definition at line 25 of file BonFilterSolver.cpp.

Function Documentation

void F77_FUNC ( filtersqp  ,
FILTERSQP   
)
struct @13 F77_FUNC ( cpname  ,
CPNAME   
)
struct @14 F77_FUNC ( hessc  ,
HESSC   
)
struct @15 F77_FUNC ( ubdc  ,
UBDC   
)
struct @16 F77_FUNC_ ( nlp_eps_inf  ,
NLP_EPS_INF   
)
struct @17 F77_FUNC_ ( bqpd_count  ,
BQPD_COUNT   
)
struct @18 F77_FUNC ( scalec  ,
SCALEC   
)
void F77_FUNC ( objfun  ,
OBJFUN   
)

Objective function evaluation.

void F77_FUNC ( confun  ,
CONFUN   
)

Constraint functions evaluation.

void F77_FUNC ( gradient  ,
GRADIENT   
)
for ( ) = values[permutationHess[i]]

Definition at line 116 of file BonFilterSolver.cpp.

void F77_FUNC ( hessian  ,
HESSIAN   
)

Variable Documentation

if m
Initial value:
{
mlam = new Ipopt::Number[*m]
Ipopt::Number * mlam
void fint * m

Definition at line 29 of file BonFilterSolver.cpp.

void fint fint* kmax

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

switch s
Initial value:
{
decpt = ++s
void fint fint fint fint fint fint fint fint fint fint real real real real real real real real * s
CONST unsigned char * decpt
Definition: OSdtoa.cpp:1814

Definition at line 29 of file BonFilterSolver.cpp.

a = *n

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Definition at line 29 of file BonFilterSolver.cpp.

Ipopt::TNLP* tnlpSolved = NULL
static

Definition at line 40 of file BonFilterSolver.cpp.

fint nnz_h = -1
static

Definition at line 41 of file BonFilterSolver.cpp.

fint* hStruct = NULL
static

Definition at line 43 of file BonFilterSolver.cpp.

int* permutationJac = NULL
static

Definition at line 46 of file BonFilterSolver.cpp.

int* permutationHess = NULL
static

Definition at line 47 of file BonFilterSolver.cpp.

fint char_l

Definition at line 56 of file BonFilterSolver.cpp.

char pname

Definition at line 57 of file BonFilterSolver.cpp.

fint phl

Definition at line 63 of file BonFilterSolver.cpp.

fint phr

Definition at line 63 of file BonFilterSolver.cpp.

fint phc

Definition at line 63 of file BonFilterSolver.cpp.

real ubd

Definition at line 69 of file BonFilterSolver.cpp.

real tt

Definition at line 69 of file BonFilterSolver.cpp.

real infty

Definition at line 75 of file BonFilterSolver.cpp.

real eps

Definition at line 75 of file BonFilterSolver.cpp.

fint n_bqpd_calls

Definition at line 81 of file BonFilterSolver.cpp.

fint n_bqpd_prfint

Definition at line 81 of file BonFilterSolver.cpp.

fint scale_mode

Definition at line 87 of file BonFilterSolver.cpp.

fint phe

Definition at line 87 of file BonFilterSolver.cpp.

int n

Definition at line 96 of file BonFilterSolver.cpp.

void fint fint fint real real fint real fint fint fint fint * errflag = !tnlpSolved->eval_f(*n, x, 1, *f)

Definition at line 97 of file BonFilterSolver.cpp.

void fint fint* mxa

Definition at line 108 of file BonFilterSolver.cpp.

int nnz = la[0] - *n - 1

ATTENTION: Filter expect the jacobian to be ordered by row.

Definition at line 112 of file BonFilterSolver.cpp.

Ipopt::Number * values = new double [nnz]

Definition at line 113 of file BonFilterSolver.cpp.

void fint fint fint* phase

Definition at line 131 of file BonFilterSolver.cpp.

* l_hess = nnz_h

Definition at line 131 of file BonFilterSolver.cpp.

* li_hess = nnz_h + *n + 3

Definition at line 131 of file BonFilterSolver.cpp.

fint end = nnz_h + (*n) + 2

Definition at line 135 of file BonFilterSolver.cpp.

delete [] mlam = NULL

Definition at line 142 of file BonFilterSolver.cpp.