Can I provide explicit init values for the optimize method?

Can I (how?) provide initial values for STAN for the optimize methods? The init parameter of the optimize method can be set to a number x which is a range (-x, x). The init parameter of the sample method can be set to a json file, but I want something similar for the optimize which doesn’t seem to accept a file path as argument.

optimize does accept a file path for init. Are you getting a specific error?