Layout pv panel optimization

Since this is your first post, please read Please read: make it easier to help you.

You’ll have more chance of an answer if you can provide code that you have attempted, or can show the mathematical model you are trying to implement.

The JuMP documentation has a number of examples: https://jump.dev/JuMP.jl/stable/tutorials/Mixed-integer%20linear%20programs/sudoku/

Use this tutorial to get started with JuMP: https://jump.dev/JuMP.jl/stable/tutorials/Getting%20started/getting_started_with_JuMP/