#include "hybridentryreserve.hpp"
int main() {
int numBids = 15;
int numVals = 15;
double weightOnOwnBid = 1;
double reservePrice = .25;
double entryFee = 0.0;
double highBid = 1.0;
HybridEntryReserve hera(numVals,
numBids,
weightOnOwnBid,
reservePrice,
entryFee,
highBid);
vector<double> objWeights(3,0);
objWeights[2]=-1;
solver.
solve(objWeights);
stringstream fName;
fName << "hybridauction_nv=" << numVals
<< "_nb=" << numBids
<< "_w=" << weightOnOwnBid
<< "_rp=" << reservePrice
<< "_ef=" << entryFee << ".bce";
string fNameStr = fName.str();
const char * fNameC = fNameStr.c_str();
}
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