infeasibleSolves++;
return null;
}
for (TCGVariable var : atcg.getVariables()) {
if (var instanceof TCGBasicVariable) {
TCGBasicVariable basicVar = (TCGBasicVariable) var;
if (basicVar.isIsParameter()) {
EList<Double> par = new BasicEList<Double>();
try {
par.add(ampl.getParameter(basicVar.getName()));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
result.put(basicVar, par);
} else {
try {
result.put(basicVar,
ampl.getVariable(basicVar.getName()));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}