46 #ifdef CONSTRAINED_OPTIMIZATION_PACK_USE_QPKWIK
52 namespace QPKWIK_Output {
53 std::ostream*
out = 0;
68 void output(
const char name[],
const T& val) {
75 void output(
const char name[],
const int n,
const T array[]) {
77 for(
const T* itr = array; itr != array + n; )
85 void output(
const char name[],
const int m,
const int n,
const T matrix[]) {
87 for(
int i = 0; i < m; ++i) {
88 for(
int j = 0; j < n; ++j) {
97 namespace QPKWIK_Print_Decl {
119 *
out <<
"\n*** Printing QPKWIK input\n";
151 *
out <<
"\n*** Printing QPKWIK sparsity data\n";
153 output(
"ISTART",M2D+1,ISTART);
154 output(
"IPOINT",M2D*N,IPOINT);
178 ,
const f_int& ITEMPP )
183 *
out <<
"\n*** QPKWIK Iteration info, CALLING_LABLE = " << CALLING_LABLE <<
"\n";
188 output(
"IACTSTORE",NACTSTORE,IACTSTORE);
190 output(
"AINV",M3D+1,AINV);
193 output(
"R",(3*(N+1)+(N+1)*(N+1))/2,R);
198 output(
"NACTSTORE",NACTSTORE);
208 output(
"SUMNORM",SUMNORM);
212 output(
"IFINISH",IFINISH);
244 #endif // CONSTRAINED_OPTIMIZATION_PACK_USE_QPKWIK
const f_int const f_int const f_int const f_dbl_prec const f_dbl_prec * BL
const LAPACK_C_Decl::f_int LAPACK_C_Decl::f_dbl_prec const LAPACK_C_Decl::f_int & LDA
FortranTypes::f_int f_int
const f_int const f_int const f_dbl_prec const f_dbl_prec * X
FORTRAN_FUNC_DECL_UL_(void, QPOPT_SET_DEFAULTS, qpopt_set_defaults)()
std::ostream & output(std::ostream &o, const COOMatrix &coom)
Output stream function for COOMatrix.
const f_int const f_int const f_int const f_dbl_prec const f_dbl_prec const f_dbl_prec * BU
const f_int const f_int & N
FortranTypes::f_dbl_prec f_dbl_prec