sintefore / SparseVariables.jl

Efficient sparse modelling with JuMP
MIT License
15 stars 1 forks source link

Possible API changes #33

Open hellemo opened 1 year ago

hellemo commented 1 year ago

Things to test/discuss:

hellemo commented 1 year ago

Alternatively use a parameter for safe/unsafe, to facilitate switch between safe and unsafe. Default to safe to use during development, but be able to easily switch to unsafe for performance in some cases. I guess adding a unsafe option to the normal insertvar! would be non-breaking as long as it defaults to safe.

trulsf commented 1 year ago

Little experience with @inbounds, but I think a parameter for safe/unsafe is a good place to start.