File numerics/src/AVI/AffineVariationalInequalities.h

Go to the source code of this file

Definitions for AVI.

Functions

void AVI_display(AffineVariationalInequalities *avi)

Affine Variational Inequalities display.

Parameters

int AVI_newFromFile(AffineVariationalInequalities *avi, FILE *file)

read from file and create AffineVariationalInequalities

Return
1 if successfull
Parameters

int AVI_newFromFilename(AffineVariationalInequalities *avi, char *filename)

function to read and create a AffineVariationalInequalities from a file

Return
1 if successfull
Parameters

int AVI_printInFile(AffineVariationalInequalities *avi, FILE *file)

write AVI to file

Return
1 if successfull
Parameters

void freeAVI(AffineVariationalInequalities *avi)

function to delete a AffineVariationalInequalities

Parameters

AffineVariationalInequalities *newAVI(void)

Create an empty AVI struct.

Return
an empty AffineVariationalInequalities

struct AffineVariationalInequalities
#include <AffineVariationalInequalities.h>

Structure that contains and defines an AVI.

The problem is : given a matrix \(M\) and a vector \(q\), find \(z\) such that

\[\langle x - z, q + Mz \rangle \geq 0 \ \text{for all }x\in K\]

See

Public Members

void *cones

Non-polyhedral Cones where the variable lives (not implemented yet)

double *d

Covering vector (optional)

double *lb

Lower bounds for the variables.

NumericsMatrix *M

M matrix of the AVI (see the mathematical description)

polyhedron_set poly

Polyhedra where the solution has to belong.

double *q

vector of the AVI (see the mathematical description)

unsigned int size

size of the problem

double *ub

Upper bounds for the variables.