Skip to content

Conversation

1Aditya7
Copy link

Hey @TolisChal, @cbachela

I've attempted to integrate the Linear Optimization class (LinearProgram) into qp_problems.py, which currently consists the existing quadratic optimizer. I've tried to maintain the same code structure as QuadraticProgram.

The code executes but results in two failed tests and two errors in the current test run (src/test_linear_program.py). The test file is currently under src; I didn't want to worry about relative imports yet since I wanted to establish a foundation first. If everything looks good, I'll move it to the test directory.

If you could review it and provide feedback on whether I'm heading in the right direction, I'll make the necessary adjustments.

Thanks!

@gittestrr
Copy link

is the code AI generated? I can see some familiarity. Sorry if I am wrong.

@1Aditya7
Copy link
Author

1Aditya7 commented Mar 7, 2025

is the code AI generated? I can see some familiarity. Sorry if I am wrong.

The code tries to follow the same (similar) format of the Quadratic Optimiser as implemented by a GSoC 2024 participant. I've referred to the usual LLMs to ensure the code written tries to avoid errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants