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:
parent
2d614d7f92
commit
a166d122d0
@ -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
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user