Skip to content

Conversation

rasheedja
Copy link
Owner

No description provided.

rasheedja added 30 commits July 14, 2023 15:56
+ Use types which are way clearer
+ Some docs
+ Use lens where they make things easier
+ New types required quite a significant factor of the codebase
+ TODO:
  + Cleanup
  + Further refactoring/polishing
    + I want type names to reflect those typically used when talking about simplex methods
    + But first, I need to learn what the actual terms are
    + I'd also like to simplify a lot of these functions
    + The refactor has made it easier for me to think about these functions, which makes it easier to simplify them
+ test10 was broken due to an LLM sneakily adding extra constraints and changing objective
+ testQuickCheck1/2 were broken because the constraints were built using `Map.fromList` with duplicate keys
  + only one of the key values were used, others were ignored
+ Control.Monad.Logger used for logging
+ Documented various functions
+ Handled some edge cases which shouldn't be possible (and log warnings/errors when we reach these edge cases)
+ I like this name better
+ Allows for alternative solvers
+ I was using the cabal plan as a key, now I use stack files/cabal generated files
+ Don't want to spend effor fixing windows caching
@rasheedja rasheedja force-pushed the junaidr/refactor-types branch 3 times, most recently from 871d6ce to 75643ce Compare August 31, 2024 15:52
+ create new types for TermVarsOnly, ExprVarsOnly
+ Make Expr a non-empty list of terms
+ solver class for the future
@rasheedja rasheedja force-pushed the junaidr/refactor-types branch from 75643ce to f5ac83e Compare August 31, 2024 16:13
@rasheedja rasheedja force-pushed the junaidr/refactor-types branch from 6973382 to 08340ff Compare October 7, 2024 20:28
- used after adding slack variables
- realised I need to allow empty expressions to keep things simple
  - so refactored that, too
- todo: tests for new functions
@rasheedja rasheedja force-pushed the junaidr/refactor-types branch from 08340ff to f9571d7 Compare October 19, 2024 17:40
@rasheedja rasheedja force-pushed the junaidr/refactor-types branch from 19e7f8c to 4a5579f Compare January 11, 2025 13:59
@rasheedja rasheedja force-pushed the junaidr/refactor-types branch from 4a5579f to 7c44b1d Compare January 11, 2025 14:34
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.

1 participant