DotNet Reference
DotNet Reference
SatHelper.cs
Go to the documentation of this file.
27 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
51 public static Google.OrTools.Sat.CpSolverResponse Solve(Google.OrTools.Sat.CpModelProto model_proto) {
53 System.IntPtr data = operations_research_satPINVOKE.SatHelper_Solve(model_proto.CalculateSize(), ProtoHelper.ProtoToByteArray(model_proto));
71 public static Google.OrTools.Sat.CpSolverResponse SolveWithStringParameters(Google.OrTools.Sat.CpModelProto model_proto, string parameters) {
73 System.IntPtr data = operations_research_satPINVOKE.SatHelper_SolveWithStringParameters(model_proto.CalculateSize(), ProtoHelper.ProtoToByteArray(model_proto), parameters);
91 public static Google.OrTools.Sat.CpSolverResponse SolveWithStringParametersAndSolutionCallback(Google.OrTools.Sat.CpModelProto model_proto, string parameters, SolutionCallback callback) {
93 System.IntPtr data = operations_research_satPINVOKE.SatHelper_SolveWithStringParametersAndSolutionCallback(model_proto.CalculateSize(), ProtoHelper.ProtoToByteArray(model_proto), parameters, SolutionCallback.getCPtr(callback));
112 string ret = operations_research_satPINVOKE.SatHelper_ModelStats(model_proto.CalculateSize(), ProtoHelper.ProtoToByteArray(model_proto));
117 string ret = operations_research_satPINVOKE.SatHelper_SolverResponseStats(response.CalculateSize(), ProtoHelper.ProtoToByteArray(response));
122 string ret = operations_research_satPINVOKE.SatHelper_ValidateModel(model_proto.CalculateSize(), ProtoHelper.ProtoToByteArray(model_proto));
static System.IntPtr SatHelper_SolveWithStringParameters(int model_proto_size, byte[] jarg1, string jarg2)
static string SolverResponseStats(Google.OrTools.Sat.CpSolverResponse response)
Definition: SatHelper.cs:116
static byte [] ProtoToByteArray(IMessage message)
Definition: ProtoHelper.cs:21
Definition: ProtoHelper.cs:19
Definition: Constraint.cs:11
static Google.OrTools.Sat.CpSolverResponse SolveWithStringParametersAndSolutionCallback(Google.OrTools.Sat.CpModelProto model_proto, string parameters, SolutionCallback callback)
Definition: SatHelper.cs:91
static string SatHelper_SolverResponseStats(int response_size, byte[] jarg1)
static void delete_SatHelper(global::System.Runtime.InteropServices.HandleRef jarg1)
static string SatHelper_ValidateModel(int model_proto_size, byte[] jarg1)
static string ValidateModel(Google.OrTools.Sat.CpModelProto model_proto)
Definition: SatHelper.cs:121
static string SatHelper_ModelStats(int model_proto_size, byte[] jarg1)
Definition: Constraint.cs:11
static System.IntPtr SatHelper_SolveWithStringParametersAndSolutionCallback(int model_proto_size, byte[] jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
Definition: SatHelper.cs:17
static Google.OrTools.Sat.CpSolverResponse SolveWithStringParameters(Google.OrTools.Sat.CpModelProto model_proto, string parameters)
Definition: SatHelper.cs:71
static string ModelStats(Google.OrTools.Sat.CpModelProto model_proto)
Definition: SatHelper.cs:111
static Google.OrTools.Sat.CpSolverResponse Solve(Google.OrTools.Sat.CpModelProto model_proto)
Definition: SatHelper.cs:51
Definition: operations_research_sat.cs:11
static System.IntPtr SatHelper_Solve(int model_proto_size, byte[] jarg1)