Gene pool toggle fixed free variables

Is there a practical script to fix certain values from the gene pool either directly from the gene pool widget or through some script that references its name?

Say you want to optimize some variables while keeping others fixed so that they are leaving the output unaltered but the effective variables Galapagos are reduced by the ones toggled “fixed” prior to initiating the solver. In the example below all variables being free while index 6 being “fixed” @ 0.69. Thus effectively Galapagos needs to only alter 11 variables. I have a workaround that uses some code to update the variable list and insert the fixed values retroactively but I am wondering if there is a better way to do this so its practical to change fixed/free states in place.