The script in its current form is meant to reproduce Fig. 3 in Adhikari, Leaf & Muthukumar. J Chem Phys 149, 163308 (2018).
Define your free energy expression, objective equation, and constraint equations in here.
Specify your constants, parameters, variables, solver options, and other options here.
- NumPy >=v2.1.3
- SciPy >=v1.14.1
- Matplotlib >=v3.9.2