I am currently working on a model in which I have to run 6-7 iterations by changing the input data manually and then re-run the model to get the result. Each time, I need to change the decision variables range, constraints range etc.

I would like to automate the process using VBA. To do that, OpenSolver.xlam installation and referencing to Opensolver is sufficient or I need to install anything more like ‘Module OpenSolverAPI’.

Also, considering the dynamic range of different constraints and inputs, would I be able to code Loop using VBA for Open solver to automate it? If yes, kindly share one or two such VBA automated Opensolver model code examples using the loop for reference. If you provide, Few more examples of VBA models for Open solvers that would be great for me to learn and start VBA for the open solver.

Kindly help me!

]]>I don’t quite understand the following restriction in the Quick Solve description:

‘OpenSolver assumes that this change [to the RHS] is a linear one’

The only linear change (I can think of) is a multiplication of the entire RHS with one constant, which would limit the use of this feature a lot.

Best regards,

Pete

Can someone explain why this is happening? Does OpenSolver impact other macros (that don’t use OpenSolver function)?

]]>