/opt/ros/diamondback/stacks/graspit_simulator/graspit/graspit_source/src/math/qpoases.cpp File Reference

#include "qpoases.h"
#include <QProblem.hpp>
#include <limits>
#include <math.h>
#include "matrix.h"
#include "debug.h"
Include dependency graph for qpoases.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void oasesFromMatrix (std::vector< double > &O, const Matrix &M, double scale=1.0)
void printMatrix (const std::vector< double > &M, std::string name)
int QPOASESSolverWrapperLP (const Matrix &Q, const Matrix &Eq, const Matrix &b, const Matrix &InEq, const Matrix &ib, const Matrix &lowerBounds, const Matrix &upperBounds, Matrix &sol, double *objVal)
int QPOASESSolverWrapperQP (const Matrix &Q, const Matrix &Eq, const Matrix &b, const Matrix &InEq, const Matrix &ib, const Matrix &lowerBounds, const Matrix &upperBounds, Matrix &sol, double *objVal)

Detailed Description

A wrapper for using the QPOASES solver from within GraspIt!

Definition in file qpoases.cpp.


Function Documentation

void oasesFromMatrix ( std::vector< double > &  O,
const Matrix M,
double  scale = 1.0 
)

Populates an OASES style matrix (dense, row-major) from a GraspIt matrix (potentially sparse, column-major).

Definition at line 44 of file qpoases.cpp.

void printMatrix ( const std::vector< double > &  M,
std::string  name 
)

Definition at line 56 of file qpoases.cpp.

int QPOASESSolverWrapperLP ( const Matrix Q,
const Matrix Eq,
const Matrix b,
const Matrix InEq,
const Matrix ib,
const Matrix lowerBounds,
const Matrix upperBounds,
Matrix sol,
double *  objVal 
)

Definition at line 171 of file qpoases.cpp.

int QPOASESSolverWrapperQP ( const Matrix Q,
const Matrix Eq,
const Matrix b,
const Matrix InEq,
const Matrix ib,
const Matrix lowerBounds,
const Matrix upperBounds,
Matrix sol,
double *  objVal 
)

Definition at line 66 of file qpoases.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 10:59:48 2012