-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
PDD solver: error in the documentation on how to access the output #109
Comments
I could also take care of this :) |
Please, go ahead! Please, let me know if after making these changes, something is still not working or is not accurate. |
I am having a problem with the PDD, I have installed everything with the “with_pdd” no problem but keep having the warning about the ddModel could not be imported |
Have a look at this #168 (comment) It should be a solved problem in the current master and develop branches. It might be you need to update? |
I already have that version the point is that I do not have file "ddModel.cp39-win_amd64.pyd" |
That's funny. It does work with Windows and Python 3.9 in the CI system... Could you run |
Great I run this command: and it created a .so and a .pyf and now it works!! |
I'm sorry it took me so long to answer. Yes, this is really disconcerting and, honestly, very confusing for the users being the output so inconsistent. I think that the only solution - and is not really a solution - that does not break backwards compatibility is to go through all the relevant functions in the PDD solver and document exactly what their outputs are, event if these are weird and inconsistent. Eventually, we need to put some order here and refactor all the outputs, so things make sense, but I don't think we are there, yet, I am afraid. |
The documentation for the PDD solver states that the output is provided as a nested dictionary. However, that is not correct: it is provided as a
State
object with the different keys accesible as attributes. For example:should be:
The examples are incorrect and so is the description of the dictionary at the end.
The text was updated successfully, but these errors were encountered: