Skip to content

Influence Diagrams Solvers #33

Answered by FabsOliveira
DomDF asked this question in General
Discussion options

You must be logged in to vote

Hi @DomDF. Yes, of course. In principle, you can use any mixed-integer programming solver compatible with JuMP.jl. Basically, any supporting MILP from this list would work.

Personally, I recommend HiGHS.jl. It is a great open-source solver that has remarkable performance. Then all you need to do is

using HiGHS
using JuMP

model = Model(HiGH.Optimizer())
z = DecisionVariables(model, diagram)
x_s = PathCompatibilityVariables(model, diagram, z)
EV = expected_value(model, diagram, x_s)
@objective(model, Max, EV)
optimize!(model)

P.S>: Apologies for the delay. I noticed my notifications from Github were off. We should be more responsive now!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DomDF
Comment options

Answer selected by FabsOliveira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants