{"id":"oscr:b:2GMAQJJ3KRYBH-W","url":"https://openscicode.org/b/oscr:b:2GMAQJJ3KRYBH-W","status":"current","doi":"10.3389/frai.2025.1549085","since":"2026-11-14","page":"doi_10.3389_frai.2025.1549085","repo":"github.com/olfub/xlp","commit":"4cd53c7b31a4ff1fad0d70e52df1df927aac60d9","path":"lp_encodings.py","swhid":"swh:1:cnt:c8fb01f5ff928964a9d2de427ef219f355e649ae","lines":[46,102],"symbol":"cost_costpenalty","paragraphs":[[27,"3 Encoding priors for linear programs › 3.2 Gain-penalty encoding"]],"method":"lexical-v1","origin":"machine","paper":"https://doi.org/10.3389/frai.2025.1549085","swhid_qualified":"swh:1:cnt:c8fb01f5ff928964a9d2de427ef219f355e649ae;origin=https://github.com/olfub/xlp;anchor=swh:1:rev:4cd53c7b31a4ff1fad0d70e52df1df927aac60d9;path=/lp_encodings.py;lines=46-102","reader":"https://openscicode.org/paper/doi_10.3389_frai.2025.1549085/?path=lp_encodings.py#L46-L102","citation":"Code block oscr:b:2GMAQJJ3KRYBH-W (https://openscicode.org/b/oscr:b:2GMAQJJ3KRYBH-W)\nlp_encodings.py, lines 46 to 102, in github.com/olfub/xlp (https://github.com/olfub/xlp), commit 4cd53c7b31a4ff1fad0d70e52df1df927aac60d9.\nPaper: https://doi.org/10.3389/frai.2025.1549085\nSWHID: swh:1:cnt:c8fb01f5ff928964a9d2de427ef219f355e649ae;origin=https://github.com/olfub/xlp;anchor=swh:1:rev:4cd53c7b31a4ff1fad0d70e52df1df927aac60d9;path=/lp_encodings.py;lines=46-102"}