added two example notebooks: energy-resource-build and sudoku
Hi - I added two notebooks to the examples folder. I didn't add links to these in the TOC or anything - up to you how you want to link them. Thanks for a great project!
Closes #348
Sorry if I messed up the formatting stuff on the PR
What happened to this PR? I took a brief look at sudoku example, it can be made more tidy, not all power of linopy got utilised. Whenever for loop is used it is unnecessary operation in linopy like tools where broadcast and group by operations exists
I just contributed the example – it’s up to the linopy team to take it from here.
From: Zlatan Kadragić @.> Sent: Friday, February 21, 2025 3:47 AM To: PyPSA/linopy @.> Cc: Brunkhorst, Greg @.>; Author @.> Subject: Re: [PyPSA/linopy] added two example notebooks: energy-resource-build and sudoku (PR #356)
What happened to this example? I took a brief look at sudoku example, it can be made more tidy, not all power of linopy got utilised. Whenever for loop is used it is unnecessary operation in linopy like tools where broadcast and group by operations exists
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/PyPSA/linopy/pull/356*issuecomment-2674338465__;Iw!!CRCbkf1f!SaQdNbcSPciqhJTP8PzBSGNmfbhLs7kRVEVDyh17582rD_fst9dQgPLwj3vkvuF9uqvOf65c6AeOGFXpFiH0mdRUh2joq8gh$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BAHDJFM5CVKGAS77RTGS76T2Q4G2BAVCNFSM6AAAAABPM2L27WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZUGMZTQNBWGU__;!!CRCbkf1f!SaQdNbcSPciqhJTP8PzBSGNmfbhLs7kRVEVDyh17582rD_fst9dQgPLwj3vkvuF9uqvOf65c6AeOGFXpFiH0mdRUh5bsIv57$. You are receiving this because you authored the thread.Message ID: @.@.>> [aurelije]aurelije left a comment (PyPSA/linopy#356)https://urldefense.com/v3/__https:/github.com/PyPSA/linopy/pull/356*issuecomment-2674338465__;Iw!!CRCbkf1f!SaQdNbcSPciqhJTP8PzBSGNmfbhLs7kRVEVDyh17582rD_fst9dQgPLwj3vkvuF9uqvOf65c6AeOGFXpFiH0mdRUh2joq8gh$
What happened to this example? I took a brief look at sudoku example, it can be made more tidy, not all power of linopy got utilised. Whenever for loop is used it is unnecessary operation in linopy like tools where broadcast and group by operations exists
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/PyPSA/linopy/pull/356*issuecomment-2674338465__;Iw!!CRCbkf1f!SaQdNbcSPciqhJTP8PzBSGNmfbhLs7kRVEVDyh17582rD_fst9dQgPLwj3vkvuF9uqvOf65c6AeOGFXpFiH0mdRUh2joq8gh$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BAHDJFM5CVKGAS77RTGS76T2Q4G2BAVCNFSM6AAAAABPM2L27WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZUGMZTQNBWGU__;!!CRCbkf1f!SaQdNbcSPciqhJTP8PzBSGNmfbhLs7kRVEVDyh17582rD_fst9dQgPLwj3vkvuF9uqvOf65c6AeOGFXpFiH0mdRUh5bsIv57$. You are receiving this because you authored the thread.Message ID: @.@.>>