Solving large problems, protobuf overflow

12 views
Skip to first unread message

Felix Mann

unread,
Apr 23, 2026, 5:57:38 AM (yesterday) Apr 23
to or-tools-discuss
Hello there,

I'm using OR-Tools in Java and I have a rather large model. The resulting protobuf is stored as a bytestring and its length is thus limited by the restrictions of the int variable type.

I have a very large model that exceeds this size. Is there any way to get around this limitation? Are similar constraints still active if I would use (e.g.) C++?

Thanks for your help

Laurent Perron

unread,
Apr 23, 2026, 3:03:28 PM (23 hours ago) Apr 23
to or-tools-discuss
It is implemented on the main branch for java.

Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00


--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/or-tools-discuss/a1141037-ff9c-4333-97f8-692cdc12f769n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages