Routing: Add SetCumulVarPiecewiseLinearCost() to the swig wrapper #2995
Unanswered
Mizux
asked this question in
Routing (and legacy CP) questions
Replies: 1 comment
|
Waiting for a PiecewiseLinearFunction wrap, is it possible to add a couple of overloading of SetCumulVarPiecewiseLinearCost() taking in input a fixed number of parameters representing the PiecewiseLinearFunction? Iternally it could use PiecewiseLinearFunction::CreateFullDomainFunction() to build the right object. e.g.: SetCumulVarPiecewiseLinearCost(int64_t index, int64_t initial_level, int64_t x1, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What version of OR-Tools and what language are you using?
Version: master/v9.0
Language: Java/Python/C#
Which solver are you using ?
Routing Solver
What operating system (Linux, Windows, ...) and version?
All
What did you expect to see
method is wrapped
What did you see instead?
methods are disabled by a preprocessor directive
#ifndef SWIG...or-tools/ortools/constraint_solver/routing.h
Lines 2498 to 2512 in b37d9c7
Todo Task
All reactions