Fix external runtime problem parameter count

Add getProblemDimension method to ExternalRuntimeProblem so that
problem dimension is not overridden from inherited method.
This commit is contained in:
Christian Ruppert authored and Fabian Becker committed 2016-09-20 20:54:20 -07:00
1 parent 2d614d7f92
commit a166d122d0
1 file changed
+4
@@ -363,6 +363,10 @@ public class ExternalRuntimeProblem extends AbstractOptimizationProblem
this.initializationRange.adaptRowCount(t); this.initializationRange.adaptRowCount(t);
} }
public int getProblemDimension() {
return this.problemDimension;
}
/** /**
* Length of the x vector at is to be optimized * Length of the x vector at is to be optimized
* *