EPEC solve
Solving Equilibrium Problems with Equilibrium Constraints (EPECs)
|
#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) |
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
true
if Fix1 is (grand) child of Fix2 Definition at line 34 of file LCPtoLP.cpp.
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.
true
if Fix1 and Fix2 have the same elements else false
Definition at line 17 of file LCPtoLP.cpp.
bool operator> | ( | vector< int > | Fix1, |
vector< int > | Fix2 | ||
) |
Definition at line 56 of file LCPtoLP.cpp.