Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark mode
Gurobi Optimizer Reference Manual
Light LogoDark Logo

Concepts

Features

Reference

Gurobi
Back to top

GRBException#

GRBException#

Gurobi exception object. This is a sub-class of the .NETExceptionclass. A number of useful properties, includingMessage() andStackTrace(), are inherited from the parent class. For a list ofparent class methods, visitthissite.

GRBExceptionGRBException(interrcode)#

Exception constructor that creates a Gurobi exception with the given errorcode.

Parameters:

errcode – Error code for exception.

Returns:

An exception object.

GRBExceptionGRBException(stringerrmsg)#

Exception constructor that creates a Gurobi exception with the givenmessage string.

Parameters:

errmsg – Error message for exception.

Returns:

An exception object.

GRBExceptionGRBException(stringerrmsg,interrcode)#

Exception constructor that creates a Gurobi exception with the givenmessage string and error code.

Parameters:
  • errmsg – Error message for exception.

  • errcode – Error code for exception.

Returns:

An exception object.

intErrorCode#

(Property) The error code associated with a Gurobi exception.

Help and Feedback

On this page

[8]ページ先頭

©2009-2025 Movatter.jp