[Geany] Build settings for GLPK various filetypes extension (e.g. mod, lp, mps, glp, fps)

Noli Sicad nsicad at xxxxx
Mon Feb 22 22:56:04 UTC 2010


More info on GLPK
http://www.maximalsoftware.com/solvers/glpk.html

GLPK and Editors including Geany
http://www.mail-archive.com/help-glpk@gnu.org/

Noli

On 2/23/10, Noli Sicad <nsicad at gmail.com> wrote:
> I think geany "build settings" needs updating to acccommodate - 56
> languages and scripts
>
> Geany
>
>  [build_settings]
> # %f will be replaced by the complete filename
> # %e will be replaced by the filename without extension
> # (use only one of it at one time)
> compiler=g++ -Wall -c "%f"
> linker=g++ -Wall -o "%e" "%f"
> run_cmd="./%e"
>
>
> This Scite and Gusek implementation to run the model
>
> #To run model
> command.go.needs.subsystem.$(file.patterns.gmpl)=0
> command.go.needs.$(file.patterns.gmpl)=$(SciteDefaultHome)\glpsol.exe
> $(1) -m "$(FileName).mod" $(doout) $(dobnd) $(2) $(3)
> command.go.subsystem.$(file.patterns.gmpl)=3
> command.go.$(file.patterns.gmpl)= dostring \
>  if ("$(opnout)"~="") then scite.Open("$(opnout)") end \
>  if ("$(opnbnd)"~="") then scite.Open("$(opnbnd)") end
>
> command.go.needs.subsystem.$(file.patterns.gmps)=0
> command.go.needs.$(file.patterns.gmps)=$(SciteDefaultHome)\glpsol.exe
> $(1) --$(mpstype) "$(FileNameExt)" $(doout) $(dobnd)
> command.go.subsystem.$(file.patterns.gmps)=3
> command.go.$(file.patterns.gmps)= dostring \
>  if ("$(opnout)"~="") then scite.Open("$(opnout)") end \
>  if ("$(opnbnd)"~="") then scite.Open("$(opnbnd)") end
>
> command.go.needs.subsystem.$(file.patterns.gclp)=0
> command.go.needs.$(file.patterns.gclp)=$(SciteDefaultHome)\glpsol.exe
> $(1) --lp "$(FileNameExt)" $(doout) $(dobnd)
> command.go.subsystem.$(file.patterns.gclp)=3
> command.go.$(file.patterns.gclp)= dostring \
>  if ("$(opnout)"~="") then scite.Open("$(opnout)") end \
>  if ("$(opnbnd)"~="") then scite.Open("$(opnbnd)") end
>
> command.go.needs.subsystem.$(file.patterns.glp)=0
> command.go.needs.$(file.patterns.glp)=$(SciteDefaultHome)\glpsol.exe
> $(1) --glp "$(FileNameExt)" $(doout) $(dobnd)
> command.go.subsystem.$(file.patterns.glp)=3
> command.go.$(file.patterns.glp)= dostring \
>  if ("$(opnout)"~="") then scite.Open("$(opnout)") end \
>  if ("$(opnbnd)"~="") then scite.Open("$(opnbnd)") end
>
> Noli
>
> On 2/23/10, Noli Sicad <nsicad at gmail.com> wrote:
>> BTW, I think every linux distribution has glpk package.
>>
>> Noli
>>
>>
>> On 2/23/10, Noli Sicad <nsicad at gmail.com> wrote:
>>>>> Note:  GLPK has not got any documentation online and I am not going to
>>>> install it just to read the manual, please encourage the project
>>>> maintainers
>>>> to put their documentation online (a standard request for all projects
>>>> which
>>>> do not put documentation online).
>>>
>>> Google: glpk
>>> http://www.google.com.au/#hl=en&source=hp&q=glpk&btnG=Google+Search&meta=&aq=f&oq=glpk&fp=c6d7d6ba048d7013
>>>
>>> GLPK
>>> http://www.gnu.org/software/glpk/
>>>
>>> GUSEK
>>> http://gusek.sourceforge.net/gusek.html
>>>
>>>
>>>> I don't know anything about TextAdept but the Geany model of a
>>>> "language"
>>>> is:
>>>>
>>>> 1.a set of extensions defined for files containing the language
>>>>
>>>> 2. a syntax used for source highlighting and
>>>>
>>>> 3.  a set of commands for those files
>>>
>>> All scintilla based editors can do the above.
>>> http://www.scintilla.org/ScintillaRelated.html
>>>
>>> SciTE is the original editor and the rest emulate this functionability.
>>>
>>> Advance ones are:
>>> Komodo Edit - Windows, Mac, Linux
>>> TetAdept - Windows, Mac, Linux and probably the easiest to configure
>>> for running languages, scripts and modellling language.
>>>
>>> Try googling, komodo and TextAdept for more info.
>>>
>>> I just use compile = as example because their is entries on this
>>> command. However, for modelling languages (glpk, r package, octave,
>>> etc) and scripts. It does really matter we use "compile" and "run"
>>> i.e. execute to run.
>>>
>>> Thanks.
>>>
>>> Noli
>>>
>>
>



More information about the Users mailing list