Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 3db2e2b

Browse files
committed
Missing change to scopflow->subproblem_solver
1 parent ad51797 commit 3db2e2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scopflow/interface/scopflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ PetscErrorCode SCOPFLOWSetUp(SCOPFLOW scopflow) {
801801
if (scopflow->cstart + c == 0) { /* First stage */
802802
ierr = OPFLOWSetModel(scopflow->opflows[c], scopflow->subproblem_model);
803803
CHKERRQ(ierr);
804-
ierr = OPFLOWSetSolver(scopflow->opflows[c], OPFLOWSOLVER_IPOPT);
804+
ierr = OPFLOWSetSolver(scopflow->opflows[c], scopflow->subproblem_solver);
805805
CHKERRQ(ierr);
806806
ierr = OPFLOWSetObjectiveType(scopflow->opflows[c], MIN_GEN_COST);
807807
CHKERRQ(ierr);

0 commit comments

Comments
 (0)