Skip to content

Commit

Permalink
upper bound fix
Browse files Browse the repository at this point in the history
  • Loading branch information
apete committed Feb 17, 2025
1 parent cecd034 commit dc55fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ojAlgo Functionality Tests.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.eclemma.ui.launchGroup.coverage"/>
Expand All @@ -17,7 +16,7 @@
<listEntry value="=ojAlgo/src\/main\/java=/optional=/true=/=/maven.pomderived=/true=/"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=ojAlgo"/>
<stringAttribute key="org.eclipse.jdt.junit.EXCLUDE_TAGS" value="slow"/>
<stringAttribute key="org.eclipse.jdt.junit.EXCLUDE_TAGS" value="slow,unstable"/>
<booleanAttribute key="org.eclipse.jdt.junit.HAS_EXCLUDE_TAGS" value="true"/>
<booleanAttribute key="org.eclipse.jdt.junit.HAS_INCLUDE_TAGS" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.INCLUDE_TAGS" value="network"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void copyBasicSolution(final double[] solution) {
for (int i = 0; i < upper.length; i++) {
double bound = this.getUpperBound(upper[i]);
if (bound != ZERO) {
retVal += bound * myObjective.doubleValue(lower[i]);
retVal += bound * myObjective.doubleValue(upper[i]);
}
}

Expand Down

0 comments on commit dc55fb2

Please sign in to comment.