internal

package
v0.0.0-...-9b02bcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package internal is where the raw SWIG bindings to the OR-Tools CP-SAT solver live.

Rather than working with these bindings directly, consider adding functionality to the higher level solver package instead.

Index

Constants

This section is empty.

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func CpSatHelperModelStats

func CpSatHelperModelStats(arg1 pb.CpModelProto) (_swig_ret string)

func CpSatHelperSolverResponseStats

func CpSatHelperSolverResponseStats(arg1 pb.CpSolverResponse) (_swig_ret string)

func CpSatHelperValidateModel

func CpSatHelperValidateModel(arg1 pb.CpModelProto) (_swig_ret string)

func DeleteCpSatHelper

func DeleteCpSatHelper(arg1 CpSatHelper)

func DeleteDirectorLogCallback

func DeleteDirectorLogCallback(arg1 LogCallback)

func DeleteDirectorSolutionCallback

func DeleteDirectorSolutionCallback(arg1 SolutionCallback)

func DeleteLogCallback

func DeleteLogCallback(arg1 LogCallback)

func DeleteSolutionCallback

func DeleteSolutionCallback(arg1 SolutionCallback)

func DeleteSolveWrapper

func DeleteSolveWrapper(arg1 SolveWrapper)

func Swig_DirectorLogCallback_callback_NewMessage_internal_0eb8ac65aa8fcab2

func Swig_DirectorLogCallback_callback_NewMessage_internal_0eb8ac65aa8fcab2(swig_c int, message string)

func Swig_DirectorSolutionCallback_callback_OnSolutionCallback_internal_0eb8ac65aa8fcab2

func Swig_DirectorSolutionCallback_callback_OnSolutionCallback_internal_0eb8ac65aa8fcab2(swig_c int)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

func Swiggo_DeleteDirector_LogCallback_internal_0eb8ac65aa8fcab2

func Swiggo_DeleteDirector_LogCallback_internal_0eb8ac65aa8fcab2(c int)

func Swiggo_DeleteDirector_SolutionCallback_internal_0eb8ac65aa8fcab2

func Swiggo_DeleteDirector_SolutionCallback_internal_0eb8ac65aa8fcab2(c int)

Types

type CpSatHelper

type CpSatHelper interface {
	Swigcptr() uintptr
	SwigIsCpSatHelper()
}

func NewCpSatHelper

func NewCpSatHelper() (_swig_ret CpSatHelper)

type LogCallback

type LogCallback interface {
	Swigcptr() uintptr
	SwigIsLogCallback()
	DirectorInterface() interface{}
	NewMessage(arg2 string)
}

func NewDirectorLogCallback

func NewDirectorLogCallback(v interface{}) LogCallback

type Operations_research_Domain

type Operations_research_Domain interface {
	Swigcptr() uintptr
}

func CpSatHelperVariableDomain

func CpSatHelperVariableDomain(arg1 pb.IntegerVariableProto) (_swig_ret Operations_research_Domain)

type SolutionCallback

type SolutionCallback interface {
	Swigcptr() uintptr
	SwigIsSolutionCallback()
	DirectorInterface() interface{}
	OnSolutionCallback()
	NumBooleans() (_swig_ret int64)
	NumBranches() (_swig_ret int64)
	NumConflicts() (_swig_ret int64)
	NumBinaryPropagations() (_swig_ret int64)
	NumIntegerPropagations() (_swig_ret int64)
	WallTime() (_swig_ret float64)
	UserTime() (_swig_ret float64)
	ObjectiveValue() (_swig_ret float64)
	BestObjectiveBound() (_swig_ret float64)
	SolutionIntegerValue(arg2 int) (_swig_ret int64)
	SolutionBooleanValue(arg2 int) (_swig_ret bool)
	StopSearch()
	Response() (_swig_ret pb.CpSolverResponse)
	HasResponse() (_swig_ret bool)
}

func NewDirectorSolutionCallback

func NewDirectorSolutionCallback(v interface{}) SolutionCallback

type SolveWrapper

type SolveWrapper interface {
	Swigcptr() uintptr
	SwigIsSolveWrapper()
	SetParameters(arg2 pb.SatParameters)
	AddSolutionCallback(arg2 SolutionCallback)
	ClearSolutionCallback(arg2 SolutionCallback)
	AddLogCallback(arg2 Std_function_Sl_void_Sp_std_string_SS_const_SA__SP__Sg_)
	Solve(arg2 pb.CpModelProto) (_swig_ret pb.CpSolverResponse)
	StopSearch()
}

func NewSolveWrapper

func NewSolveWrapper() (_swig_ret SolveWrapper)

type Std_function_Sl_void_Sp_std_string_SS_const_SA__SP__Sg_

type Std_function_Sl_void_Sp_std_string_SS_const_SA__SP__Sg_ interface {
	Swigcptr() uintptr
}

type SwigcptrCpSatHelper

type SwigcptrCpSatHelper uintptr

func (SwigcptrCpSatHelper) SwigIsCpSatHelper

func (p SwigcptrCpSatHelper) SwigIsCpSatHelper()

func (SwigcptrCpSatHelper) Swigcptr

func (p SwigcptrCpSatHelper) Swigcptr() uintptr

type SwigcptrLogCallback

type SwigcptrLogCallback uintptr

func (SwigcptrLogCallback) DirectorInterface

func (p SwigcptrLogCallback) DirectorInterface() interface{}

func (SwigcptrLogCallback) NewMessage

func (arg1 SwigcptrLogCallback) NewMessage(arg2 string)

func (SwigcptrLogCallback) SwigIsLogCallback

func (p SwigcptrLogCallback) SwigIsLogCallback()

func (SwigcptrLogCallback) Swigcptr

func (p SwigcptrLogCallback) Swigcptr() uintptr

type SwigcptrOperations_research_Domain

type SwigcptrOperations_research_Domain uintptr

func (SwigcptrOperations_research_Domain) Swigcptr

type SwigcptrSolutionCallback

type SwigcptrSolutionCallback uintptr

func (SwigcptrSolutionCallback) BestObjectiveBound

func (arg1 SwigcptrSolutionCallback) BestObjectiveBound() (_swig_ret float64)

func (SwigcptrSolutionCallback) DirectorInterface

func (p SwigcptrSolutionCallback) DirectorInterface() interface{}

func (SwigcptrSolutionCallback) HasResponse

func (arg1 SwigcptrSolutionCallback) HasResponse() (_swig_ret bool)

func (SwigcptrSolutionCallback) NumBinaryPropagations

func (arg1 SwigcptrSolutionCallback) NumBinaryPropagations() (_swig_ret int64)

func (SwigcptrSolutionCallback) NumBooleans

func (arg1 SwigcptrSolutionCallback) NumBooleans() (_swig_ret int64)

func (SwigcptrSolutionCallback) NumBranches

func (arg1 SwigcptrSolutionCallback) NumBranches() (_swig_ret int64)

func (SwigcptrSolutionCallback) NumConflicts

func (arg1 SwigcptrSolutionCallback) NumConflicts() (_swig_ret int64)

func (SwigcptrSolutionCallback) NumIntegerPropagations

func (arg1 SwigcptrSolutionCallback) NumIntegerPropagations() (_swig_ret int64)

func (SwigcptrSolutionCallback) ObjectiveValue

func (arg1 SwigcptrSolutionCallback) ObjectiveValue() (_swig_ret float64)

func (SwigcptrSolutionCallback) OnSolutionCallback

func (arg1 SwigcptrSolutionCallback) OnSolutionCallback()

func (SwigcptrSolutionCallback) Response

func (arg1 SwigcptrSolutionCallback) Response() (_swig_ret pb.CpSolverResponse)

func (SwigcptrSolutionCallback) SolutionBooleanValue

func (arg1 SwigcptrSolutionCallback) SolutionBooleanValue(arg2 int) (_swig_ret bool)

func (SwigcptrSolutionCallback) SolutionIntegerValue

func (arg1 SwigcptrSolutionCallback) SolutionIntegerValue(arg2 int) (_swig_ret int64)

func (SwigcptrSolutionCallback) StopSearch

func (arg1 SwigcptrSolutionCallback) StopSearch()

func (SwigcptrSolutionCallback) SwigIsSolutionCallback

func (p SwigcptrSolutionCallback) SwigIsSolutionCallback()

func (SwigcptrSolutionCallback) Swigcptr

func (p SwigcptrSolutionCallback) Swigcptr() uintptr

func (SwigcptrSolutionCallback) UserTime

func (arg1 SwigcptrSolutionCallback) UserTime() (_swig_ret float64)

func (SwigcptrSolutionCallback) WallTime

func (arg1 SwigcptrSolutionCallback) WallTime() (_swig_ret float64)

type SwigcptrSolveWrapper

type SwigcptrSolveWrapper uintptr

func (SwigcptrSolveWrapper) AddLogCallback

func (SwigcptrSolveWrapper) AddSolutionCallback

func (arg1 SwigcptrSolveWrapper) AddSolutionCallback(arg2 SolutionCallback)

func (SwigcptrSolveWrapper) ClearSolutionCallback

func (arg1 SwigcptrSolveWrapper) ClearSolutionCallback(arg2 SolutionCallback)

func (SwigcptrSolveWrapper) SetParameters

func (arg1 SwigcptrSolveWrapper) SetParameters(arg2 pb.SatParameters)

func (SwigcptrSolveWrapper) Solve

func (arg1 SwigcptrSolveWrapper) Solve(arg2 pb.CpModelProto) (_swig_ret pb.CpSolverResponse)

func (SwigcptrSolveWrapper) StopSearch

func (arg1 SwigcptrSolveWrapper) StopSearch()

func (SwigcptrSolveWrapper) SwigIsSolveWrapper

func (p SwigcptrSolveWrapper) SwigIsSolveWrapper()

func (SwigcptrSolveWrapper) Swigcptr

func (p SwigcptrSolveWrapper) Swigcptr() uintptr

type SwigcptrStd_function_Sl_void_Sp_std_string_SS_const_SA__SP__Sg_

type SwigcptrStd_function_Sl_void_Sp_std_string_SS_const_SA__SP__Sg_ uintptr

func (SwigcptrStd_function_Sl_void_Sp_std_string_SS_const_SA__SP__Sg_) Swigcptr

Directories

Path Synopsis
parser
Package parser contains the parsing primitives needed to process the datadriven tests.
Package parser contains the parsing primitives needed to process the datadriven tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL