-
Notifications
You must be signed in to change notification settings - Fork 164
Description
I have the following configuration:
- AmplNLWriter v0.7.1
- PowerModels v0.18.2
- Julia v1.5.4
- JuMP v0.21.4
My code to run the simple 3 bus tnep problem from the test files:
file = "path/PowerModels/test/data/matpower/case3_tnep.m"
data = PowerModels.parse_file(file)
calc_thermal_limits!(data)
bonmin_solver= JuMP.optimizer_with_attributes(() -> AmplNLWriter.Optimizer("path/Bonmin.exe"))
resultAC_bonmin = run_tnep(data, ACPPowerModel, bonmin_solver; setting = s)
(it solves with Juniper solver as done in tnep.jl file of the package)
I get the following warnings:
[warn | InfrastructureModels]: The given optimizer does not provide the SolveTime() attribute, falling back on @timed. This is not a rigorous timing value.
[warn | InfrastructureModels]: model has no results, solution cannot be built
result:
"termination_status" => OTHER_ERROR::TerminationStatusCode = 24
"objective" => NaN
I think that there is an issue with the configuration (versions) or solve definition (JuMP.optimizer_with_attributes(...)). There should be a solution with Bonmin as the test case is feasible and simple. Can someone help me out to figure out the issue?