#include "simulation.h" #include "library.h" #include "solver.h" #include "solverreporter.h" #include using namespace std; int main(void){ Library L; L.load("conopttest.a4c"); Type t = L.findType("conopttest"); cerr << "Type = " << t.getName() << endl; Simulation S = t.getSimulation("S"); S.build(); cerr << "About to solve..." << endl; SolverReporter R; S.solve(Solver("CONOPT"),R); }