#pragma once #include "pch.h" class IPSolver { public: IloModel model; //IloCplex cplex; IloEnv env; vector vertexSolution = {}; vector faceSolution = {}; vector unseenFaces = {}; vector bothFaces = {}; IloIntVarArray faceguardVar; IloIntVarArray facewitnessVar; IloIntVarArray pointguardVar; IloExprArray faceExpr; IloExprArray pointExpr; IloRangeArray pointConstraints; IloRangeArray faceConstraints; IloIntArray pgVals; IloIntArray fgVals; IloIntArray fwVals; IPSolver(); void findSolution(Arrangement_2& thePolygon, bool preferGuards = false, bool doingP5 = false); };