Movatterモバイル変換


[0]ホーム

URL:


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

Concepts

Features

Reference

Gurobi
Back to top

Error Handling#

char*GRBgeterrormsg(GRBenv*env)#

Retrieve the error message associated with the most recent error thatoccurred in an environment.

Return value:

A string containing the error message.

Arguments:
  • env – The environment in which the error occurred.

Example:
error=GRBgetintattr(model,"DOES_NOT_EXIST",&attr);if(error)printf("%s\n",GRBgeterrormsg(env));

Help and Feedback

On this page

[8]ページ先頭

©2009-2025 Movatter.jp