revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
// This .i file exposes the sat cp_model API.
|
||||
|
||||
%include <stdint.i>
|
||||
%include "stdint.i"
|
||||
|
||||
%include "ortools/base/base.i"
|
||||
%include "ortools/util/python/proto.i"
|
||||
@@ -32,7 +32,6 @@ typedef uint64_t uint64;
|
||||
|
||||
%module(directors="1") operations_research_sat
|
||||
|
||||
|
||||
PY_PROTO_TYPEMAP(ortools.sat.cp_model_pb2,
|
||||
CpModelProto,
|
||||
operations_research::sat::CpModelProto);
|
||||
@@ -92,3 +91,4 @@ PY_PROTO_TYPEMAP(ortools.sat.sat_parameters_pb2,
|
||||
%include "ortools/sat/swig_helper.h"
|
||||
|
||||
%unignoreall
|
||||
|
||||
|
||||
Reference in New Issue
Block a user