set_semicontSet the type of the variable. semi-continuous or not. int set_semicont(lprec *lp, int column, short must_be_sc); Return Value set_semicont returns TRUE (1) if the operation was successful. A return
value of FALSE (0) indicates an error. Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS column The column number of the variable that must be set. It must be between 1 and the number of columns in the lp. must_be_sc TRUE (1) if the variable must be semi-continuous, FALSE (0) if not. Remarks The set_semicont function defines if a variable must be semi-continuous
or not. Default a variable is not semi-continuous. The argument must_be_sc
defines what the status of the variable becomes. Example
See Also make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, is_semicont |