gtrsk / or-tools

Automatically exported from code.google.com/p/or-tools
0 stars 0 forks source link

No constructor for SequenceVarLocalSearchOperator [C#] #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
During creation of a customized LocalSearch in C#, and I am following chapter 
6.7 in the user manual.

As I am trying to create the "SwapIntervals" @ 6.7.3 that inherits the 
"SequenceVarLocalSearchOperator"-class, I get the error message:
"The Type Google.ConstraintSolver.SequenceVarLocalSearchOperator has no 
constructors defined" (see attached picture of object browser)

The trial to resolve by forcing SWIG to create constructors, even if the class 
is abstract did not solve the issue.
(see: http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_nn6)

Original issue reported on code.google.com by johan.lu...@gmail.com on 5 Nov 2013 at 10:18

Attachments:

GoogleCodeExporter commented 9 years ago
I have added the director features in the swig file.
Can you check?

Original comment by laurent....@gmail.com on 5 Nov 2013 at 10:59

GoogleCodeExporter commented 9 years ago
Great - it seems like it did the trick!

Time to do some CP+LS!

Thanks for the instantaneous fix!

Original comment by johan.lu...@gmail.com on 5 Nov 2013 at 11:19

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the bug report

Original comment by laurent....@gmail.com on 5 Nov 2013 at 11:28