private void init(FCTPGraph instance, double U, String[] players) { this.G = instance; this.U = U; this.P = new Dictionary <EdgePair, List <Bid> >(); this.payoff = new Dictionary <String, Double>(); this.flow = new Dictionary <EdgePair, Double>(); this.W = new Dictionary <EdgePair, List <String> >(); solver = new RuntimeSolver(); foreach (String player in players) { payoff.Add(player, 0.0); } }
public RuntimeSolver() { // solver = new GurobiSolver(); solver = new CPLEXSolver(); }