# Struct AffineVariationalInequalities¶

struct AffineVariationalInequalities

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 users’guide for details.

Public Members

size_t size

size of the problem

NumericsMatrix *M

M matrix of the AVI (see the mathematical description)

double *q

vector of the AVI (see the mathematical description)

double *d

Covering vector (optional)

polyhedron_set poly

Polyhedra where the solution has to belong.

double *lb

Lower bounds for the variables.

double *ub

Upper bounds for the variables.

void *cones

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