로드 중...
검색 중...
일치하는 항목 없음
슬롯 머신::GAMSModelInstanceOpt 클래스 참조

GAMSModelInstanceOpt는 GAMSModelInstance.solve() 루틴을 사용자 정의하는 데 사용할 수 있습니다.더 보기...

#include <gamsmodelinstanceopt.h>

공개 회원 기능

 GAMSModelInstanceOpt(const std::string &해결사="", int optfile=-1, intnoMatchLimit=0, 부울디버그=거짓)
 
 ~GAMSModelInstanceOpt ()
 소멸자.
 
GAMSModelInstanceOpt연산자=(상수GAMSModelInstanceOpt&기타)
 
부울 연산자!=(상수GAMSModelInstanceOpt&기타) const
 
부울 연산자==(상수GAMSModelInstanceOpt&기타) const
 
std::string 해결사 ()
 
무효 setSolver(const std::string &해결사)
 
int opt파일 ()
 슬롯 머신 옵션파일 번호를 얻으세요.
 
무효 setOptFile(const int optfile)
 
int noMatchLimit ()
 
무효 setNoMatchLimit(상수 정수noMatchLimit)
 
부울 디버그 ()
 
무효 setDebug(const bool디버그)
 

자세한 설명

GAMSModelInstanceOpt는 GAMSModelInstance.solve() 루틴을 사용자 정의하는 데 사용할 수 있습니다.

라인 정의38파일gamsmodelinstanceopt.h.

생성자 및 소멸자 문서

◆ GAMSModelInstanceOpt()

슬롯 머신::GAMSModelInstanceOpt::GAMSModelInstanceOpt ( const std::string & 해결사="",
int optfile=-1,
int noMatchLimit=0,
부울 디버그=거짓 )

생성자.

매개변수
해결사슬롯 머신 해결사.
optfile슬롯 머신 옵션 파일 번호.
noMatchLimit해결을 종료하기 전에 허용되는 일치하지 않는 시나리오 기록의 최대 수를 제어합니다.
디버그디버그 플래그.

◆ ~GAMSModelInstanceOpt()

슬롯 머신::GAMSModelInstanceOpt::~GAMSModelInstanceOpt ( )

소멸자.

멤버 함수 문서

◆ 디버그()

bool 슬롯 머신::GAMSModelInstanceOpt::debug ( )

디버그 플래그를 얻으세요.

비고
이 값은 변환 솔버를 트리거하여 추가 디버그 정보(디버그 모델)를 작성합니다. 이 파일은 슬롯 머신 작업공간에 있습니다.
반품
변환 솔버가 호출된 경우; 그렇지 않으면거짓.

◆ noMatchLimit()

int 슬롯 머신::GAMSModelInstanceOpt::noMatchLimit ( )

일치 없음 제한을 받으세요. 이 숫자는 해결을 종료하기 전에 허용되는 일치하지 않는 시나리오 레코드의 최대 수를 제어합니다.

◆ 연산자!=()

bool 슬롯 머신::GAMSModelInstanceOpt::operator!= ( constGAMSModelInstanceOpt& 기타) const

두 개의 GAMSModelInstanceOpt 개체를 비교합니다.

매개변수
기타비교할 또 다른 GAMSModelInstanceOpt.
반환
반품두 개의 GAMSModelInstanceOpt가 다른 경우; 그렇지 않으면거짓.

◆ 연산자=()

GAMSModelInstanceOpt& 슬롯 머신::GAMSModelInstanceOpt::operator= ( constGAMSModelInstanceOpt& 기타)

GAMSModelInstanceOpt를 할당합니다.

매개변수
기타또 다른 GAMSModelInstanceOpt가 데이터 소스로 사용되었습니다.
반품
할당된 GAMSModelInstanceOpt(*this)를 반환합니다.

◆ 연산자==()

bool 슬롯 머신::GAMSModelInstanceOpt::operator== ( constGAMSModelInstanceOpt& 기타) const

두 개의 GAMSModelInstanceOpt 개체를 비교합니다.

매개변수
기타비교할 또 다른 GAMSModelInstanceOpt.
반품
반품두 개의 GAMSModelInstanceOpt가 동일한 경우; 그렇지 않으면거짓.

◆ opt파일()

int 슬롯 머신::GAMSModelInstanceOpt::optFile ( )

슬롯 머신 옵션파일 번호를 얻으세요.

◆ setDebug()

void 슬롯 머신::GAMSModelInstanceOpt::setDebug ( const bool 디버그)

디버그 플래그를 설정하십시오.

비고
이 값은 변환 솔버를 트리거하여 추가 디버그 정보(디버그 모델)를 작성합니다. 이 파일은 슬롯 머신 작업공간에 있습니다.
매개변수
디버그사실변환 솔버가 호출되면; 그렇지 않으면거짓.

◆ setNoMatchLimit()

void 슬롯 머신::GAMSModelInstanceOpt::setNoMatchLimit ( const int noMatchLimit)

일치 없음 제한을 설정합니다. 이 숫자는 해결을 종료하기 전에 허용되는 일치하지 않는 시나리오 레코드의 최대 수를 제어합니다.

매개변수
noMatchLimit일치 제한입니다.

◆ setOptFile()

void 슬롯 머신::GAMSModelInstanceOpt::setOptFile ( const int optfile)

슬롯 머신 옵션 파일 번호 설정

매개변수
optfile슬롯 머신 옵션 파일 번호.

◆ setSolver()

void 슬롯 머신::GAMSModelInstanceOpt::setSolver ( const std::string & 해결사)

사용할 솔버를 설정하십시오.

매개변수
해결사해결사 이름.

◆ 해결사()

std::string 슬롯 머신::GAMSModelInstanceOpt::solver ( )

지정된 솔버를 검색합니다.

반환
솔버 이름을 얻으세요.