ConstrainedOptPack_QPSchur.cpp File Reference

#include <assert.h>
#include <ostream>
#include <iomanip>
#include <limits>
#include "ConstrainedOptPack_QPSchur.hpp"
#include "ConstrainedOptPack_ComputeMinMult.hpp"
#include "AbstractLinAlgPack_MatrixSymPosDefCholFactor.hpp"
#include "AbstractLinAlgPack_SpVectorOp.hpp"
#include "AbstractLinAlgPack_GenPermMatrixSliceOp.hpp"
#include "AbstractLinAlgPack_LinAlgOpPackHack.hpp"
#include "AbstractLinAlgPack_GenPermMatrixSliceOut.hpp"
#include "AbstractLinAlgPack_SpVectorOut.hpp"
#include "AbstractLinAlgPack_MatrixOpNonsing.hpp"
#include "AbstractLinAlgPack_MatrixOpOut.hpp"
#include "AbstractLinAlgPack_VectorStdOps.hpp"
#include "AbstractLinAlgPack_EtaVector.hpp"
#include "DenseLinAlgPack_AssertOp.hpp"
#include "DenseLinAlgPack_DVectorClass.hpp"
#include "DenseLinAlgPack_DVectorClassExt.hpp"
#include "DenseLinAlgPack_DVectorOp.hpp"
#include "DenseLinAlgPack_LinAlgOpPack.hpp"
#include "DenseLinAlgPack_DVectorOut.hpp"
#include "DenseLinAlgPack_DMatrixOut.hpp"
#include "Teuchos_Workspace.hpp"
#include "Teuchos_TestForException.hpp"

Include dependency graph for ConstrainedOptPack_QPSchur.cpp:

Go to the source code of this file.

Namespaces

namespace  LinAlgOpPack
namespace  ConstrainedOptPack

Functions

template<class T>
my_max (const T &v1, const T &v2)
const char * bnd_str (ConstrainedOptPack::EBounds bnd)
const char * bool_str (bool b)
std::string error_msg (const char file_name[], const int line_num, const char err_msg[])
void deincrement_indices (DenseLinAlgPack::size_type k_remove, std::vector< DenseLinAlgPack::size_type > *indice_vector, size_t len_vector)
void insert_pair_sorted (DenseLinAlgPack::size_type r_v, DenseLinAlgPack::size_type c_v, size_t len_vector, std::vector< DenseLinAlgPack::size_type > *r, std::vector< DenseLinAlgPack::size_type > *c)
void calc_z (const AbstractLinAlgPack::MatrixSymOpNonsing &S_hat, const DenseLinAlgPack::DVectorSlice &d_hat, const AbstractLinAlgPack::MatrixOp &U_hat, const DenseLinAlgPack::DVectorSlice *vo, DenseLinAlgPack::DVectorSlice *z_hat)
void calc_v (const AbstractLinAlgPack::MatrixSymOpNonsing &Ko, const DenseLinAlgPack::DVectorSlice *fo, const AbstractLinAlgPack::MatrixOp &U_hat, const DenseLinAlgPack::DVectorSlice &z_hat, DenseLinAlgPack::DVectorSlice *v)
void calc_mu_D (const ConstrainedOptPack::QPSchur::ActiveSet &act_set, const DenseLinAlgPack::DVectorSlice &x, const DenseLinAlgPack::DVectorSlice &v, DenseLinAlgPack::DVectorSlice *mu_D)
void calc_p_mu_D (const ConstrainedOptPack::QPSchur::ActiveSet &act_set, const DenseLinAlgPack::DVectorSlice &p_v, const DenseLinAlgPack::DVectorSlice &p_z_hat, const DenseLinAlgPack::size_type *ja, DenseLinAlgPack::DVectorSlice *p_mu_D)
template<class val_type>
void calc_resid (const ConstrainedOptPack::QPSchur::ActiveSet &act_set, const DenseLinAlgPack::DVectorSlice &v, const DenseLinAlgPack::DVectorSlice &z_hat, const DenseLinAlgPack::value_type ao, const DenseLinAlgPack::DVectorSlice *bo, DenseLinAlgPack::VectorSliceTmpl< val_type > *ro, DenseLinAlgPack::value_type *roR_scaling, DenseLinAlgPack::value_type *rom_scaling, const DenseLinAlgPack::value_type aa, const DenseLinAlgPack::DVectorSlice *ba, DenseLinAlgPack::VectorSliceTmpl< val_type > *ra, DenseLinAlgPack::value_type *ra_scaling)
int correct_dual_infeas (const DenseLinAlgPack::size_type j, const ConstrainedOptPack::EBounds bnd_j, const DenseLinAlgPack::value_type t_P, const DenseLinAlgPack::value_type scale, const DenseLinAlgPack::value_type dual_infeas_tol, const DenseLinAlgPack::value_type degen_mult_val, std::ostream *out, const ConstrainedOptPack::QPSchur::EOutputLevel olevel, const bool print_dual_infeas, const char nu_j_n[], DenseLinAlgPack::value_type *nu_j, DenseLinAlgPack::value_type *scaled_viol, const char p_nu_j_n[]=NULL, DenseLinAlgPack::value_type *p_nu_j=NULL, const char nu_j_plus_n[]=NULL, DenseLinAlgPack::value_type *nu_j_plus=NULL)
void calc_obj_grad_norm_inf (const ConstrainedOptPack::QPSchurPack::QP &qp, const DenseLinAlgPack::DVectorSlice &x, DenseLinAlgPack::value_type *qp_grad_norm_inf)


Function Documentation

template<class T>
T my_max const T &  v1,
const T &  v2
[inline, static]
 

Definition at line 82 of file ConstrainedOptPack_QPSchur.cpp.

const char* bnd_str ConstrainedOptPack::EBounds  bnd  )  [inline, static]
 

Definition at line 88 of file ConstrainedOptPack_QPSchur.cpp.

const char* bool_str bool  b  )  [inline, static]
 

Definition at line 108 of file ConstrainedOptPack_QPSchur.cpp.

std::string error_msg const char  file_name[],
const int  line_num,
const char  err_msg[]
[static]
 

Definition at line 117 of file ConstrainedOptPack_QPSchur.cpp.

void deincrement_indices DenseLinAlgPack::size_type  k_remove,
std::vector< DenseLinAlgPack::size_type > *  indice_vector,
size_t  len_vector
[static]
 

Definition at line 130 of file ConstrainedOptPack_QPSchur.cpp.

void insert_pair_sorted DenseLinAlgPack::size_type  r_v,
DenseLinAlgPack::size_type  c_v,
size_t  len_vector,
std::vector< DenseLinAlgPack::size_type > *  r,
std::vector< DenseLinAlgPack::size_type > *  c
[static]
 

Definition at line 148 of file ConstrainedOptPack_QPSchur.cpp.

void calc_z const AbstractLinAlgPack::MatrixSymOpNonsing S_hat,
const DenseLinAlgPack::DVectorSlice d_hat,
const AbstractLinAlgPack::MatrixOp U_hat,
const DenseLinAlgPack::DVectorSlice vo,
DenseLinAlgPack::DVectorSlice z_hat
[static]
 

Definition at line 181 of file ConstrainedOptPack_QPSchur.cpp.

void calc_v const AbstractLinAlgPack::MatrixSymOpNonsing Ko,
const DenseLinAlgPack::DVectorSlice fo,
const AbstractLinAlgPack::MatrixOp U_hat,
const DenseLinAlgPack::DVectorSlice z_hat,
DenseLinAlgPack::DVectorSlice v
[static]
 

Definition at line 205 of file ConstrainedOptPack_QPSchur.cpp.

void calc_mu_D const ConstrainedOptPack::QPSchur::ActiveSet act_set,
const DenseLinAlgPack::DVectorSlice x,
const DenseLinAlgPack::DVectorSlice v,
DenseLinAlgPack::DVectorSlice mu_D
[static]
 

Definition at line 242 of file ConstrainedOptPack_QPSchur.cpp.

void calc_p_mu_D const ConstrainedOptPack::QPSchur::ActiveSet act_set,
const DenseLinAlgPack::DVectorSlice p_v,
const DenseLinAlgPack::DVectorSlice p_z_hat,
const DenseLinAlgPack::size_type ja,
DenseLinAlgPack::DVectorSlice p_mu_D
[static]
 

Definition at line 294 of file ConstrainedOptPack_QPSchur.cpp.

template<class val_type>
void calc_resid const ConstrainedOptPack::QPSchur::ActiveSet act_set,
const DenseLinAlgPack::DVectorSlice v,
const DenseLinAlgPack::DVectorSlice z_hat,
const DenseLinAlgPack::value_type  ao,
const DenseLinAlgPack::DVectorSlice bo,
DenseLinAlgPack::VectorSliceTmpl< val_type > *  ro,
DenseLinAlgPack::value_type roR_scaling,
DenseLinAlgPack::value_type rom_scaling,
const DenseLinAlgPack::value_type  aa,
const DenseLinAlgPack::DVectorSlice ba,
DenseLinAlgPack::VectorSliceTmpl< val_type > *  ra,
DenseLinAlgPack::value_type ra_scaling
[static]
 

Definition at line 414 of file ConstrainedOptPack_QPSchur.cpp.

int correct_dual_infeas const DenseLinAlgPack::size_type  j,
const ConstrainedOptPack::EBounds  bnd_j,
const DenseLinAlgPack::value_type  t_P,
const DenseLinAlgPack::value_type  scale,
const DenseLinAlgPack::value_type  dual_infeas_tol,
const DenseLinAlgPack::value_type  degen_mult_val,
std::ostream *  out,
const ConstrainedOptPack::QPSchur::EOutputLevel  olevel,
const bool  print_dual_infeas,
const char  nu_j_n[],
DenseLinAlgPack::value_type nu_j,
DenseLinAlgPack::value_type scaled_viol,
const char  p_nu_j_n[] = NULL,
DenseLinAlgPack::value_type p_nu_j = NULL,
const char  nu_j_plus_n[] = NULL,
DenseLinAlgPack::value_type nu_j_plus = NULL
[static]
 

Definition at line 603 of file ConstrainedOptPack_QPSchur.cpp.

void calc_obj_grad_norm_inf const ConstrainedOptPack::QPSchurPack::QP qp,
const DenseLinAlgPack::DVectorSlice x,
DenseLinAlgPack::value_type qp_grad_norm_inf
[static]
 

Definition at line 693 of file ConstrainedOptPack_QPSchur.cpp.


Generated on Thu Sep 18 12:35:37 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1