Class AVI

Defined in Program listing for file kernel/src/simulationTools/AVI.hpp

class AVI : public LinearOSNS

Formalization and Resolution of an Affine Variational Inequality (AVI)

This class is devoted to the formalization and the resolution of Affine variational Inequalities (AVI): given a polytopic set \(P\), \(M\in R^{p\times p}\) and \(q\in R^p\),

\[\text{find z}\in P\text{such that for all x}\in P\quad \langle x-z, Mz+q\rangle \geq 0.\]

Public Functions

AVI(int numericsSolverId = SICONOS_AVI_CAOFERRIS)

constructor from numerics solver id

  • numericsSolverId: id of numerics solver, default = SICONOS_AVI_CAOFERRIS

AVI(SP::SolverOptions options)

constructor from a pre-defined solver options set.


virtual ~AVI()


int compute(double time)

Compute the unknown z and update the Interaction (y and lambda)


information about the solver convergence.

  • time: current time

void display() const

print the data to the screen

void initialize(SP::Simulation sim)

To initialize the LinearOSNS problem(computes topology …)

  • sim: the simulation owning this OSNSPB