Glad that worked! You should be able to apply to apply the constraints over just a time period, by selecting only some of the values out of the array, like model -> sum(model[:emissions, :MIU][10:20]) - 0.2
. It’s not pretty, but it will depend on what exactly you want to do.
Perfect, that works too!
Hello everyone,
I was facing a similar issue when I tried optimising MimiDICE2016R2 this summer. OptiMimi did not work because installing the package in my Julia environment forcefully downgraded my Mimi version:
Hence, I let myself be inspired by the code for Budolfson et al. (2021) and created my own fork of MimiDICE2016R2 (OptMimiDICE2016R2) which has an in-built optimise_model
function. Maybe that’s helpful to some people landing in this forum!
Cheers!
1 Like