abdelkimo / or-tools

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

Loss of methods in SequenceVarLocalSearchMethods [C#] #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems like some of the methods didn't pass through in fix of issue35, 
actually all the protected ones:
Activate(.. )
Activated(.. )
AddVars(.. )
ApplyChanges(.. )
Deactivate(.. )
OldSequence(.. )
RevertChanges(.. )
SetForwardSequence(.. )
SetBackwardSequence(.. )

Also, Sequence(.. ) is now conditional on the value of SWIG, but needed in any 
case:
#if !defined(SWIG)
  const std::vector<int>& Sequence(int64 index) const {
    DCHECK_LT(index, vars_.size());
    return values_[index];
  }
#endif

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

GoogleCodeExporter commented 9 years ago
Should be OK now. Thanks

Original comment by laurent....@gmail.com on 6 Nov 2013 at 1:40

GoogleCodeExporter commented 9 years ago
I got some errors while compiling the libraries (make csharpexe), one LNK2001 
error per method that was changed from protected to public (see attached 
screen-dump).

Original comment by johan.lu...@gmail.com on 6 Nov 2013 at 2:24

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, the error was on my side (I hadn't SWIG-version 2.0.11 yet, but was 
still on 2.0.9)

Original comment by johan.lu...@gmail.com on 6 Nov 2013 at 8:53