public void setup_problem() { variableGenerator = new VariableGenerator(Instance, this); variableGenerator.make_all_vars(); constraintGenerator = new ConstraintGenerator(this, variableGenerator, Instance); constraintGenerator.make_all_constraints(); }
public ConstraintGenerator(GRBModel pModel, VariableGenerator pvariableGenerator, InstanceGeneratorMain pinstanceGenerator) { Model = pModel; variableGenerator = pvariableGenerator; instanceGenerator = pinstanceGenerator; }