#include "allpayauction.hpp"
int main() {
int numBids = 20;
int numVals = 20;
AllPayAuction apa(numVals,numBids);
try {
vector<double> objWeights(3);
objWeights[2]=-1;
solver.
solve(objWeights);
stringstream fName;
fName << "allpayauction_nv=" << numVals
<< "_nb=" << numBids << ".bce";
string fNameStr = fName.str();
const char * fNameC = fNameStr.c_str();
}
}
catch(GRBException &e) {
}
return 0;
}
Exception class for BCESolve.
Definition: bceexception.hpp:33
string getMessage()
Returns an error message.
Definition: bceexception.hpp:79
Class for storing data produced by BCESolver.
Definition: bcesolution.hpp:64
static void save(const BCESolution &data, const char *filename)
Serialize a BCESolution object using Boost.
Definition: bcesolution.hpp:202
Solves a BCEAbstractGame using gurobi.
Definition: bcesolver.hpp:47
void populate()
Main populate routine.
Definition: bcesolver.cpp:163
void solve(vector< double > &objectiveWeights)
Solve method.
Definition: bcesolver.cpp:474
void getSolution(BCESolution &output)
Returns the data object.
Definition: bcesolver.cpp:700