Closed junechanh closed 3 years ago
Hi @junechanh, Very much appreciate the bug report and testcase. As it turns out, there were two issues that occurred when combining a dist constraint (which is implemented with soft constraints) with a soft constraint and causing both to fail with an inline constraint. I've corrected both issues and the test now runs correctly. I've made a new release (0.3.1), so you can either update PyVSC via PyPi or update the source code to get the fix. I'll leave the issue open until you're able to confirm the fix.
Best Regards, Matthew
Thanks for such a fast turnaround @mballance -- I can confirm that the fix works.
I'm getting an Exception with the following code snippet:
I haven't dug too much into it, but 'nontarget_field_s' doesn't seem to exist in the codebase.
This error case seems to stem from the presence of both the dist constraint and an override of a soft constraint (line #A) via inline hard constraint (line #B).