Skip to content

Commit 6121e07

Browse files
authored
Set default values in r
1 parent 9c7a876 commit 6121e07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rampl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ RCPP_MODULE(rampl){
658658
.method("reset", &RAMPL::reset)
659659
.method("close", &RAMPL::close)
660660
.method("isRunning", &RAMPL::isRunning)
661-
.method("solve", &RAMPL::solve)
661+
.method("solve", &RAMPL::solve, List::create( _["problem"], _["solver"] = "" ))
662662

663663
.method("getData", &RAMPL::getData)
664664
.method("getValue", &RAMPL::getValue)

0 commit comments

Comments
 (0)