Julia Programming Language
For loop error
Specific Domains
Optimization (Mathematical)
MuadhF
July 10, 2019, 9:28am
7
Thank you! I completely forgot about trying regular numbers instead of JuMP variables.
Assigning JuMP VariableRef to an array position
show post in topic
Related topics
Topic
Replies
Views
Activity
Assigning JuMP VariableRef to an array position
Optimization (Mathematical)
6
1567
July 31, 2019
MethodError: no method matching -(::VariableRef, ::Nothing)
General Usage
question
,
jump
,
error
2
4360
March 3, 2020
MethodError: no method matching getindex(::VariableRef, ::Int64)
Optimization (Mathematical)
question
,
jump
4
3064
March 1, 2021
JuMP MethodError: Cannot `convert` an object of type AffExpr to an object of type VariableRef
Optimization (Mathematical)
jump
2
861
February 3, 2023
MethodError: no method matching zero(::Type{Vector{AffExpr}})
Optimization (Mathematical)
5
462
November 1, 2023