EPEC solve
Solving Equilibrium Problems with Equilibrium Constraints (EPECs)
Functions
LCPtoLP.cpp File Reference
#include "lcptolp.h"
#include <algorithm>
#include <armadillo>
#include <boost/log/trivial.hpp>
#include <boost/program_options.hpp>
#include <cmath>
#include <gurobi_c++.h>
#include <iostream>
#include <memory>
#include <random>
#include <set>
#include <string>

Go to the source code of this file.

Functions

bool operator== (vector< short int > Fix1, vector< short int > Fix2)
 Checks if two vector<int> are of same size and hold same values in the same order. More...
 
bool operator< (vector< short int > Fix1, vector< short int > Fix2)
 
bool operator> (vector< int > Fix1, vector< int > Fix2)
 

Function Documentation

◆ operator<()

bool operator< ( vector< short int >  Fix1,
vector< short int >  Fix2 
)

GrandParent: Either the same value as the grand child, or has 0 in that location

Grandchild: Same val as grand parent in every location, except any val allowed, if grandparent is 0

Warning
Might be deprecated, as it pollutes global namespaces
Returns
true if Fix1 is (grand) child of Fix2

Definition at line 34 of file LCPtoLP.cpp.

◆ operator==()

bool operator== ( vector< short int >  Fix1,
vector< short int >  Fix2 
)

Checks if two vector<int> are of same size and hold same values in the same order.

Warning
Might be deprecated, as it pollutes global namespaces
Returns
true if Fix1 and Fix2 have the same elements else false

Definition at line 17 of file LCPtoLP.cpp.

◆ operator>()

bool operator> ( vector< int >  Fix1,
vector< int >  Fix2 
)

Definition at line 56 of file LCPtoLP.cpp.