dsdpcone_impl.h
Go to the documentation of this file.
#ifndef __DSDPCONE_H
#define __DSDPCONE_H
#include "dsdpbasictypes.h"
#include "dsdpvec.h"
#include "dsdpschurmat.h"
struct DSDPCone_Ops{
int id;
int (*conesize)(void*,double*);
int (*conesetup)(void*,DSDPVec);
int (*conesetup2)(void*,DSDPVec,DSDPSchurMat);
int (*conecomputes)(void*,DSDPVec,DSDPDualFactorMatrix,DSDPTruth*);
int (*coneinverts)(void*);
int (*conelogpotential)(void*,double*,double*);
int (*conesetxmaker)(void*,double,DSDPVec,DSDPVec);
int (*conecomputex)(void*,double,DSDPVec,DSDPVec,DSDPVec,double*);
int (*conehessian)(void*,double,DSDPSchurMat,DSDPVec,DSDPVec);
int (*conehmultiplyadd)(void*,double,DSDPVec,DSDPVec,DSDPVec);
int (*conerhs)(void*,double,DSDPVec,DSDPVec,DSDPVec);
int (*conemaxsteplength)(void*,DSDPVec,DSDPDualFactorMatrix,double*);
int (*coneanorm2)(void*,DSDPVec);
int (*conesparsity)(void*,int,int*,int[],int);
int (*conemonitor)(void*,int);
int (*conedestroy)(void*);
int (*coneview)(void*);
const char *name;
};
extern int DSDPAddCone(DSDP,struct DSDPCone_Ops*, void*);
extern int DSDPConeOpsInitialize(struct DSDPCone_Ops*);
#endif
dsdpbasictypes.h
Solver, solution types, termination codes,.
DSDPDualFactorMatrix
DSDPDualFactorMatrix
DSDP requires two instances of the data structures S.
Definition dsdpbasictypes.h:25
DSDPTruth
DSDPTruth
Boolean variables.
Definition dsdpbasictypes.h:19
DSDPConeOpsInitialize
int DSDPConeOpsInitialize(struct DSDPCone_Ops *)
Initialize the function pointers to 0.
Definition dsdpcone.c:443
DSDPAddCone
int DSDPAddCone(DSDP, struct DSDPCone_Ops *, void *)
Apply DSDP to a conic structure.
Definition dsdpcops.c:569
dsdpschurmat.h
Methods of a Schur Matrix.
DSDPSchurMat
struct DSDPSchurMat_C DSDPSchurMat
This object represents the Schur Matrix. Its structure is opaque to the DSDP solver,...
Definition dsdpschurmat.h:49
dsdpvec.h
Vector operations used by the solver.
DSDPVec
struct DSDPVec_C DSDPVec
This object hold m+2 variables: a scaling of C, the y variables, and r.
Definition dsdpvec.h:25
DSDP_C
Internal structures for the DSDP solver.
Definition dsdp.h:65