{"comment":{"url":"https://api.github.com/repos/JackDunnNZ/AmplNLWriter.jl/comments/13196468","html_url":"https://github.com/JackDunnNZ/AmplNLWriter.jl/commit/6472cdaeba714534ed80c1e63e18e11c7e3548d9#commitcomment-13196468","id":13196468,"user":{"login":"JackDunnNZ","id":4717044,"avatar_url":"https://avatars.githubusercontent.com/u/4717044?v=3","gravatar_id":"","url":"https://api.github.com/users/JackDunnNZ","html_url":"https://github.com/JackDunnNZ","followers_url":"https://api.github.com/users/JackDunnNZ/followers","following_url":"https://api.github.com/users/JackDunnNZ/following{/other_user}","gists_url":"https://api.github.com/users/JackDunnNZ/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDunnNZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDunnNZ/subscriptions","organizations_url":"https://api.github.com/users/JackDunnNZ/orgs","repos_url":"https://api.github.com/users/JackDunnNZ/repos","events_url":"https://api.github.com/users/JackDunnNZ/events{/privacy}","received_events_url":"https://api.github.com/users/JackDunnNZ/received_events","type":"User","site_admin":false},"position":30,"line":442,"path":"src/AmplNLWriter.jl","commit_id":"6472cdaeba714534ed80c1e63e18e11c7e3548d9","created_at":"2015-09-12T13:38:09Z","updated_at":"2015-09-12T13:38:09Z","body":"From what I can see, the .sol file that is created only contains the duals, followed by primals. I used the probem from JuliaOpt/JuMP.jl#474 to test:\r\nhttps://gist.github.com/JackDunnNZ/63f2f00aad1175fe3a6d\r\n\r\nSee model.sol, which prints 2 dual values followed by 42 primal values. If I turn off the .sol file output and instead explicitly request duals with `wantsol=4`, it prints just the two values. So I'm not sure if I can get it to give reduced costs? Is it feasible to construct the reduced costs using the duals a la LP?\r\n\r\n"}}